ndis0 dhcp question

Bryan Maynard bryan.maynard at reallm.com
Sat Jun 25 18:18:02 GMT 2005


Hello all! :-D

I have a Linksys WPC11 ver.4 wireless NIC. I got it setup using ndisgen (very
cool tool by the way). Now when kldload /root/rtl8180_sys.ko (the location of
my wireless kernel object) dmesg shows this:

ndis0: <Realtek RTL8180 Wireless LAN (Mini-)PCI NIC> port 0x1000-0x10ff mem 0x88
000000-0x880001ff irq 11 at device 0.0 on cardbus1
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:0f:66:cf:10:7e
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

and when I run ifconfig -a I get this:

::My onboard ethernet NIC
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet6 fe80::204:76ff:fe48:9301%xl0 prefixlen 64 scopeid 0x1
        inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255
        ether 00:04:76:48:93:01
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

::I don't know what this is. . .
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500

::Loopback device
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

::My Linksys WPC11 ver.4
ndis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:0f:66:cf:10:7e
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid ""
        channel -1 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1

I have several questions, but I'll ask them one at a time. . .

I have a Linksys WRT54G Wireless Router. Currently my onboard NIC is what I use
to access the net and stuff. How do I assign an IP address - and any other
needed parameters - to my wireless NIC, activate it, and use it instead of (or
along with) my onboard ethernet NIC?

I know about using ifconfig <interface name> blah blah blah, but what paramaters
do I pass and where do I get them?

Thanks,

Bryan
-- 
Open Source: by the people, for the people.






More information about the freebsd-questions mailing list