Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-27-2011, 01:31 PM
|
#1
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Rep:
|
Problems with my Ubuntu 9.10 Server and Cable modem Motorola Surfboard
Hello, I have a server which has 3 network adapters. 2 internal or local network and 1 connected to a cable modem Motorola Surfboard provided by my ISP.
The network adapters are all RTL8168b/8111b and are using driver r8169 (2.3LK-NAPI). The system is running a custom kernel 2.6.39 and of course everything works, but once in 2-3-4-5 or even more days the connection between my network adapter connected to the cable modem fully dies, without any error.
Normally you can connect to the cable modem using an ip address 192.168.100.1, but when the connection dies between the network adapter and modem, this ip can't be reached anymore even if the network cable is fine and everything theoretically should work.
The fix in a case like this is to fully reboot the server, nothing works, restart dhclient, the network, putting eth0 (the network adapter connect to the modem) and brining it up again doesnt do anything.
This issue it's happening for at least 6 month and my ISP says it's my fault. Before having all the network adapters RTL8168b/8111b, the adapter connected to the modem was a different one, but still was happing the same thing. Does anybody know what could be the idea or what I could do to fix this?
NOTE: Restarting the cable modem also doesn't help. Unplugging the modem doesnt help either.
Im really out of ideas and this problems doesn't go away at all. Please if any of you know what could be the issue, post it. I really need to fix this.
Info about the cable modem:
Software Version: SB5100E-2.3.6.0-SCM00-NOSH
Hardware Version: 3
MIB Version: II
GUI Version: 1.0
VxWorks Version: 5.4
|
|
|
05-27-2011, 01:52 PM
|
#2
|
LQ Newbie
Registered: May 2011
Posts: 23
Rep:
|
Can you try setting a static IP? Also when connection dies, try to unload/load nic module, this might give some errors.
Hope that helps.
|
|
|
05-27-2011, 01:54 PM
|
#3
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Original Poster
Rep:
|
I cant. All the network adapters are the same using the same module. I'm using a static ip address and was using dhclient before still the same issue. The only fix before and now, reboot.
|
|
|
05-27-2011, 01:56 PM
|
#4
|
LQ Newbie
Registered: May 2011
Posts: 23
Rep:
|
Quote:
Originally Posted by robertjinx
I cant. All the network adapters are the same using the same module. I'm using a static ip address and was using dhclient before still the same issue. The only fix before and now, reboot.
|
Since you mentioned you are using custom kernel, have you tried if the issue is happening on stock kernel as well?
|
|
|
05-27-2011, 03:04 PM
|
#5
|
LQ Newbie
Registered: May 2011
Location: Valencia
Distribution: Debian
Posts: 12
Rep:
|
Why you're using a none LTS version of Ubuntu for your server?
Have you check your cable RJ45 ?
and ...
Code:
/etc/init.d/networking restart
When the conection is down ?
Last edited by xsource; 05-27-2011 at 03:55 PM.
Reason: Error in the code
|
|
|
05-27-2011, 03:38 PM
|
#6
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Original Poster
Rep:
|
I didnt check or dont remember if i've checked with the stock kernel, but this means to boot into the stock kernel and wait.
Yes I have tried to restart the network, nada!
|
|
|
05-27-2011, 03:49 PM
|
#7
|
LQ Newbie
Registered: May 2011
Location: Valencia
Distribution: Debian
Posts: 12
Rep:
|
Any firewall configuration of the Motorola Router ?
There must be something that you're not mentioned... The conection cant turn off itself...
Last edited by xsource; 05-27-2011 at 03:56 PM.
|
|
|
05-27-2011, 04:04 PM
|
#8
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Original Poster
Rep:
|
Well this is the point, if this would happen every time at the sametime, then I would say it's some configuration.
But this happens randomly usually after 2-3 days of uptime.
There is no firewall in the modem, there is no such a thing in this type of modem, or if there is, it's hidden.
|
|
|
05-27-2011, 04:17 PM
|
#9
|
LQ Newbie
Registered: May 2011
Location: Valencia
Distribution: Debian
Posts: 12
Rep:
|
So the connection turn's off at the same time after 2 3 days of uptime. ? Can you try to upgrade the kernel or just upgrade if there is any about your network card ? . Becouse it could be some bug of the kernel or something in this version of the Ubuntu. Why you didn't install a LTS version ? I know that Ubuntu LTS versions for servers are very stable of this product.
I prefer Debian, becouse it's the base of Ubuntu and the distro is made for servers and I never seen that kind of error in Debian.
Can you see the syslog, when the connection is down and post it here. To know what happend in the system on that time. That could solve your problem...
Last edited by xsource; 05-27-2011 at 04:18 PM.
|
|
|
05-27-2011, 04:27 PM
|
#10
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Original Poster
Rep:
|
No, I said it happens after 2-3 days the connection dies, but it can be 2 days, 4 days or even 7 days. Its random, not precise.
Regarding the kernel, I was running about 5 days ago kernel 2.6.37 and now im running 2.6.39 and the same thing happens. I even rebuild
the kernel a bit different and still the same thing.
When the connection dies between the network adapter and modem, there is nothing, not errors, or something like that, which is why this is harder to fix.
|
|
|
05-27-2011, 04:38 PM
|
#11
|
LQ Newbie
Registered: May 2011
Location: Valencia
Distribution: Debian
Posts: 12
Rep:
|
Have you googled it or, search problem like yours in the forums of Ubuntu, becouse they will know better what happends with their Distro. Sorry I cant help you with no log. I usually fix the bugs or errors with the logs of the system.
Best Regards,
Miro
|
|
|
05-27-2011, 04:43 PM
|
#12
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749
Original Poster
Rep:
|
I do the same xsource, that's why I'm writing. If I would have logs, I wouldn't ask questions
|
|
|
All times are GMT -5. The time now is 09:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|