Bryan Maynard wrote:
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: port 0x1000-0x10ff mem 0x88
00-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 mtu 1500
options=9
inet6 fe80::204:76ff:fe48:9301%xl0 prefixlen 64 scopeid 0x1
inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255
ether 00:04:76:48:93:01
media: Ethernet autoselect (100baseTX )
status: active
::I don't know what this is. . .
plip0: flags=108810 mtu 1500
::Loopback device
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
::My Linksys WPC11 ver.4
ndis0: flags=8802 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 blah blah blah, but what paramaters
do I pass and where do I get them?
Thanks,
Bryan
Hi Bryan,
something like this:
ifconfig ndis0 ssid wepmode on wepkey
0x<1234567>
I alway had to issue this command-line twice - don't know why.
To automate this on boot-time using dhcp, there is /etc/dhclient.conf,
where you have to add the parameters like ssid, wepmode and wepkey. I
didn't try this yet.
I haven't been able to use my ndis-card with dhcp (issuing "killall
dhclient" && "dhclient ndis0" by hand), while my ath-card at least got a
"dhcp-address" once :-).
Ben
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"