Date: Tue, 4 May 2010 18:22:09 -0400 From: Carmel <carmel_ny@hotmail.com> To: freebsd-questions@freebsd.org Subject: Configuring IP for USB network device Message-ID: <BLU0-SMTP54A32F2E94546FC126891893F30@phx.gbl>
next in thread | raw e-mail | index | archive | help
I am undoubtedly doing something very wrong here. I downloaded a driver for a Ralink2870 chip and installed it. Seems to work fine. I placed this in my '/etc/rc.conf' file: ### Wireless ### wlans_rt28700=3D"wlan0" ifconfig_wlan0=3D"DHCP WPA" This was all ready there: ifconfig_nfe0=3D"DHCP" ----------------------------------------------------------------------- =46rom the /etc/wpa_supplicant.conf file: # allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group ctrl_interface=3D/var/run/wpa_supplicant ctrl_interface_group=3Dwheel # # home network; allow all valid ciphers network=3D{ ssid=3D"MyNET" #psk=3D"SECRET" psk=3Dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx key_mgmt=3DWPA-PSK } ---------------------------------------------------------------------- Now, when I insert the USB Network adapter and run "ifconfig", this is the output: fwe0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D8<VLAN_MTU> ether 02:00:0a:65:1e:1b ch 1 dma -1 fwip0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 lladdr 0.0.a.e6.ff.65.1e.1b.a.2.ff.fe.0.0.0.0 nfe0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D8<VLAN_MTU> ether 00:19:21:5d:34:de inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active plip0: flags=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=3D3<RXCSUM,TXCSUM> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5=20 inet6 ::1 prefixlen 128=20 inet 127.0.0.1 netmask 0xff000000=20 rt28700: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether 00:1e:e5:ea:35:65 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:1e:e5:ea:35:65 inet 208.68.139.38 netmask 0xffffff00 broadcast 208.68.139.38 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 media: IEEE 802.11 Wireless Ethernet<unknown subtype> status: associated ssid MyNET channel 6 (2437 Mhz 11g ht/40-) bssid 00:1a:70:fb:fb:d2 country US authmode WPA privacy ON deftxkey UNDEF txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 32k ampdudensity 8 shortgi wme burst roaming MANUAL I cannot figure out why or how it is getting the address: 208.68.139.38 It should be using 192.168.1.104 or something in that range. --=20 Carmel carmel_ny@hotmail.com |::::=3D=3D=3D=3D=3D=3D=3D |::::=3D=3D=3D=3D=3D=3D=3D |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D | Bigamy is having one spouse too many. Monogamy is the same.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP54A32F2E94546FC126891893F30>