Ask your questions here.
Post a reply

network problem, Debian

Tue Nov 29, 2011 5:39 pm

Installed Debian, network worked.
Moved the PC to the cafe, no network.
there is a router, and plugged to that a switch.
The other PC is a WinXP.
Unplugged the WinXP cable, plugged it into Debian: still no net.
Removed /etc/udev/rules.d/70-persistent-net.rules: still no net.

If i run:
Code:
ifconfig

it shows the card, but no IP.
If i run
Code:
dhclient eth0

it goes for a long time, and then gives me the command prompt back (without a result).

a) Might be the network card or the PC is simply old and hangs now and then?
or:
b) Might it be that i oversee the obvious?

I have such trouble now and then with all my (3) old PC's. Usually i boot again, boot again, open the box, unplug everything, boot again, give up. The next day it works again, as if there never would have been a problem.
Not sure if the router is confused or the network-card or me myself
(If i unplug the card and insert another one it does not help. Once the problem is there all PCs don't work anymore. Sounds like a hint for the router, but then: they all are really old -like in Pentium3).
Will use refracta-live-CD tomorrow (and antiX and grml).

Re: network problem, Debian

Tue Nov 29, 2011 6:47 pm

Try adding this to your /etc/network/interfaces

Code:
auto eth0
iface eth0 inet dhcp

then
Code:
/etc/init.d/networking restart
ifup eth0


"ceni" is really good and quick for first-time network setup, it's ncurses based interactive shell script. It might help show up or even fix a problem,

I keep an older version that's good for squeeze here:

http://exe-linux.fastfishwebsolutions.c ... .3_all.deb

No deps needed for refracta so you can just dpkg -i it from a removable if network is down

Re: network problem, Debian

Tue Nov 29, 2011 8:04 pm

thanks, dzz, specially for the ceni-deb.
Results will come with delay.
(confused as am, it might be i forget the usb-stick...or whatever)

I had a look at interfaces, and am pretty sure that it said allow-hotplug. Will try auto
(and yes, i got no idea where the difference is. I often simply connect via "dhclient eth0" without any entry at all).

Re: network problem, Debian

Tue Nov 29, 2011 9:15 pm

You need to use dhclient -v eth0 to see messages now.

Are you saying that when you plug in the linux machine that none of the computers can reach the internet? If so, then be sure you do not have a dhcp server, dns server, or similar running on the linux computer.

Do the other computers use dhcp? Check the network settings on the windows computers to be sure as it could be a static setup.

rotsa ruck

Re: network problem, Debian

Tue Nov 29, 2011 10:42 pm

Will try the verbose switch for dhclient tomorrow (strange enough i did not think of it).

I don't know that environment well, au contraire, but am quite sure it uses dhcp and no static IP (and i got no servers of that kind on the PC, but it won't hurt to check that again. I installed a stock Debian stable without environment, then installed xorg and xfce, then the basic apps for users, then compiled streamtuner and minitube, and that is pretty much all to be found there).
When i plugged a Debian-laptop, as a first test, it connected nice and easy.

If i knew that it is the network card i would buy a new one. Problem is that i am not sure what the problem is.
Some folks who did never ever use a PC are already happy the way it is, so my stress level is not that high anymore.

More tomorrow, all my rescue stuff, including screwdrivers, a usb-stick and live-CDs are packed. :o

PS: i forgot that: It is dual boot. The other PC has constant network problems, so i picked this one, which is more reliable, but had Blag installed and configured. I did not want to remove it (might be i will get the PC back). It, blag, has the same problem.

Re: network problem, Debian

Wed Nov 30, 2011 5:05 pm

:oops:
Let me stress that:
:oops:

What was the problem? Instead of unplugging the electricity of the speakers i unplugged the electricity of the switch. Holy bigbang, what a shame.

On my other box, at home, refracta, that was not the problem.
Could solve it too: unplugged Ram-sticks and network-card, re-inserted, network works again. Strange (well: age is probably the main problem).

thanks for the help.
Post a reply