ncsuapex SpaceForRent 37776 Posts user info edit post |
Ok.. Wasn't sure how to title this thread but here's the situation.
I have a 2nd PC with centos 5 on it. The onboard NIC works fine with the network. When I plug in my wireless usb Netgear wg111t it ONLY works when the onboard nic is connected to the router.
If I unplug the ethernet cable from the PC the wireless USB wont work. What's the deal?
I have set the wireless USB as both DHCP and static I with gateway/DNS/subnet mask
uname -r 2.6.18-53.1.4.el5
Output
# ifconfig eth0 Link encap:Ethernet HWaddr 00:118:A1:171 inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::211:d8ff:fea1:17d1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9111 errors:0 dropped:0 overruns:0 frame:0 TX packets:8110 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:584633 (570.9 KiB) TX bytes:615901 (601.4 KiB) Interrupt:185 Base address:0x2000
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
wlan0 Link encap:Ethernet HWaddr 00:14:6C:37:E9:C3 inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::214:6cff:fe37:e9c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1061 errors:0 dropped:0 overruns:0 frame:0 TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:91852 (89.6 KiB) TX bytes:9267 (9.0 KiB)
# iwconfig lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"linksys_SES_24172" Mode:Managed Frequency:2.437 GHz Access Point: 00:14:BF:0F:84:F5 Bit Rate:54 Mb/s Encryption key:off Link Quality:79/100 Signal level:-45 dBm Noise level:-96 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
lspci 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
lsusb -v
Bus 004 Device 003: ID 1385:4250 Netgear, Inc Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1385 Netgear, Inc idProduct 0x4250 bcdDevice 0.01 iManufacturer 1 Atheros Communications Inc iProduct 2 WG111T iSerial 3 1.0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 46 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 Remote Wakeup MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 4 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 0 bInterfaceProtocol 0 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1
Port 4: 0000.0503 highspeed power enable connect
# lsusb Bus 003 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 004 Device 003: ID 1385:4250 Netgear, Inc Bus 004 Device 001: ID 0000:0000
# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
# cat /etc/resolv.conf ; generated by /sbin/dhclient-script search earthlink.net nameserver 207.69.188.185 nameserver 207.69.188.186 nameserver 207.69.188.187
nmap -v -sP 192.168.1.0-255 | grep up Host 192.168.1.1 appears to be up. Host 192.168.1.2 appears to be up. Host 192.168.1.6 appears to be up.
Host 192.168.1.9 appears to be up. Host 192.168.1.11 appears to be up.
Nmap finished: 256 IP addresses (5 hosts up) scanned in 4.862 seconds
when both NICs are connected I can ssh from another PC to both of these addresses
Host 192.168.1.9 appears to be up. Host 192.168.1.11 appears to be up.
the 2 IPs when both NICs are working.
When I unplug the ethernet(eth0) and reboot. I can not ping/ssh/etc into the 192.168.1.11(wlan0) but nmap says that ip .11 is up
any advice?? 3/23/2008 6:22:04 PM |