Date: Mon, 27 Jun 2005 12:14:01 +0200 From: Benjamin Thelen <bt@ccgis.de> To: Bryan Maynard <bryan.maynard@reallm.com> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: ndis0 dhcp question Message-ID: <42BFD169.5020501@ccgis.de> In-Reply-To: <20050625131800.nh323ywrupxc4s4w@webmail.reallm.com> References: <20050625131800.nh323ywrupxc4s4w@webmail.reallm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <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 Hi Bryan, something like this: ifconfig ndis0 <IP-Adresse> <Subnetzmaske> ssid <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42BFD169.5020501>