LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-14-2004, 02:34 PM   #1
cellular
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian Sarge
Posts: 3

Rep: Reputation: 0
Strange cable modem problem in Debian


Hi! I'm new here, and very new with Linux too, so please be patient with me.

I have a very strange problem. I recently installed Debian Sarge on my computer, and old Celeron 600-something MHz box. I connect to the internet via a cable modem connected to my ethernet card. My internet connection requires me to go to a certain website and log in there to access the rest of the net.

Now to the problem: after installing Debian from a CD image downloaded a couple of weeks ago, my ethernet card was detected ok and i could connect to the internet without any further configuration. I did a dist-upgrade with apt-get and rebooted. Now the boot sequence shows something about the ethernetcard not being ready, or not available or something like that. I couldn't figure it out, so since i hadn't configured anything i did a clean reinstall. Now my connection worked flawlessly again. This time i did a regular upgrade with apt-get, thinking perhaps things would work this time. After rebooting, everything was fine, but at the end of my session i noticed that i could not access the login website to log out. I could access different websites though. After rebooting again, i can't connect to the login website (and thus not to any website). I get the bootup message about the ethernet card not being ready again. The card is ok though, as i can connect to the internet from my Windows partition.

Running ifconfig returns something like this:

eth 0 Link encap:Ethernet HWaddr 00:02:44:12:04:59
inet addr: 213.64.226.41 Bcast: 213.64.226.225 Mask: 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2924 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180771 (176.5 KiB) TX bytes:4112 (4.0 KiB)
Interrupt:11 Base address:0xc800

lo Link encap:Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:84 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4296 (4.1 KiB) TX bytes:4296 (4.1 KiB)

I can even ping the ip-address of the login website, so i seem to be connected to it, but when trying to connect to it with a webbrowser, it just times out. It's not a DNS problem, as i type the ip address directly into the browser window. The ethernet card seems to be a RealTek RTL8139, at least that's whats found by linux according to the system log.

I can't for the life of me figure out what went wrong. I would be very grateful if someone could help me with this.
 
Old 09-14-2004, 02:48 PM   #2
harmster
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Rep: Reputation: 15
Can you ping an other website?
And try a lower MTU value, something like 1452. I had the same problem when connection with a cable modem. To do that edit the file /etc/network/interfaces. there is something like:

auto eth0
iface eth0 inet static
! address 192.168.x.x
! netmask 255.255.255.0
! network 192.168.x.x
! broadcast 192.168.x.255
! gateway 192.168.x.x

!=probably not
add:
mtu 1452

restart the network with(being root):

cd /etc/init.d
./networking restart

Hope this helps.

Harm
 
Old 09-14-2004, 02:57 PM   #3
cellular
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian Sarge
Posts: 3

Original Poster
Rep: Reputation: 0
No, i can only ping the login website, which makes sense. Actually, when i tried it just now, i couldn't ping that either, but after following your advice, i could ping it again. Still can't connect though.
 
Old 09-14-2004, 03:31 PM   #4
dontaylor2
LQ Newbie
 
Registered: Jan 2004
Location: Pine Bluff, AR
Distribution: Ubuntu
Posts: 15

Rep: Reputation: 0
I agree that it doesn't sound like DNS, but just to close the issue for good, can you ping your DNS server(s)? What's the roundtrip time?

Anything new in your firewall config? You might try changing all the policies to ACCEPT for the time being. I'd be surprised to find that change anything, but it's worth a shot.

The only other thing I can think of at this moment is, after booting, open the terminal and turn eth0 off, then on again (ifdown eth0; ifup eth0). It would be really stupid if this fixes it, but I'm sure we've all seen weirder.
 
Old 09-14-2004, 03:59 PM   #5
cellular
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian Sarge
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, i found the problem, and i'm very embarrased. I realized that both occurances of this problem coincide with setting up a firewall. Disabling it solved the problem. I guess it was too obvious.

Anyway, sorry for wasting your time and thank you very much for taking the time to help. On the bright side though is that i have learnt a lot about networks on linux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with cable modem fatcatis Linux - Networking 0 05-04-2004 10:48 PM
Hmm... Cable modem connection - Debian MacMorning Linux - Networking 4 04-07-2004 02:52 AM
strange cable modem problem firedude Linux - Networking 5 12-20-2003 07:36 PM
Cable Modem Problem PLEASE HELP!!! mikey_man380 Linux - Networking 40 07-10-2003 08:44 PM
cable modem problem mrcracky Linux - Networking 0 01-02-2002 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration