Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP and WIFI (Strange one)

Status
Not open for further replies.

TamedTech

IS-IT--Management
May 3, 2005
998
GB
Hello Guys,

This is a funny little issue I have on one of my slackware boxes, and it fundamentaly goes against everything I know about networking.

I have a box that until recently i have been connecting to the network using a standard Ethernet port, my router is running as the DHCP Server and assigns my box an IP address, Mask and Gateway and it happily goes about its day and i can dial into my box through Telnet over SSH.

I'm now trying to get my Wi-Fi card working on the box, and this is where the strange behaviour kicks in.

I disconnect the ethernet cable and reboot the box, and DHCP runs on the wi-fi card and assigns it a lease as i would expect with all the correct details, but it wont allow me to connect in or out of the box through the wi-fi.

However, if i boot the box with the ethernet cable attached, allow my DHCP Sever to assign a lease to both the ethernet and the wifi card, then disconnect the ethernet cable, my Wi-Fi card behaves exactly as it should do and i'm able to go in and out of the box using the Wi-Fi connection on its own, strange huh?

Any ideas as to what might be causing this issue?

Thanks,

Rob
 
On my notebook, the gateway in my routing table is always defaults to eth0 (wired). I always need to change it to eth1 (wireless) manually. That might be your problem.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
Thanks for that, it has pointed me in the right direction to solve the problem.

It would seem that even though my WIFI has sourced an IP address and there isnt any Ethernet Cable attached to the box it is still trying to communicate through eth0 instead of Wlan0.

If I do a quick 'ifconfig eth0 down' and bring the ethernet connection down everything works fine and i'm able to use the WIFI.

Any suggestions or thoughts on why the box might be behaving like this instead of recognising the ethernet isnt attached and then using the wifi adapter?

Thanks,

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top