View previous topic :: View next topic |
Author |
Message |
freke Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Jan 2003 Posts: 1051 Location: Somewhere in Denmark
|
Posted: Fri Jul 08, 2005 7:29 pm Post subject: No localhost / 127.0.0.1 address when wireless? |
|
|
I've just got my wireless working (Ralink RT2500) and hence skipped starting net.eth0 - this seems to have caused my MySQL not to work as localhost/127.0.0.1 no longer exists - anybody able to tell me how to correct this?
TIA |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RoadRunn Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Jun 2004 Posts: 162
|
Posted: Fri Jul 08, 2005 7:43 pm Post subject: Re: No localhost / 127.0.0.1 address when wireless? |
|
|
freke wrote: | I've just got my wireless working (Ralink RT2500) and hence skipped starting net.eth0 - this seems to have caused my MySQL not to work as localhost/127.0.0.1 no longer exists - anybody able to tell me how to correct this?
TIA |
Is net.lo still in the boot runlevel?
Also does ifconfig show lo is up?
If lo is up and has the correct address, it may be as simple as adding the localhost line back to /etc/hosts. If not then you should try and start net.lo:
Code: | /etc/init.d/net.lo start | and see what errors you come up with. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
freke Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 23 Jan 2003 Posts: 1051 Location: Somewhere in Denmark
|
Posted: Fri Jul 08, 2005 8:12 pm Post subject: |
|
|
I never claimed to be a hardcore linuxer....
I modified my net.eth0 a bit to not activate it when my wireless (ra0) was picking up a signal - problem was net.eth0 and net.ra0 was merely links to net.lo so the file I actually edited to not run when signal on the wireless was.... net.lo
Got it sorted now - thanks ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|