LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2013, 08:03 AM   #1
hi_linux
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Rep: Reputation: Disabled
Speedsurf 504AN Modem


Hi,
I've been searching everywhere the internet but nothing came up with this type of modem that can be rebooted automatically using a script. My problem is that I lose internet connection several times a day and the solutions whenever this happens is to reboot the modem using the modem's on/off switch or by going to its lan address.

The script will be run in the task manager of synology diskstation once it detects that internet connection is broken.

I have attached a link of the screenshot of my modem's config page and its web elements.

Thanks in advance.

http://i41.tinypic.com/i1gnqs.jpg
 
Old 11-14-2013, 05:06 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,869

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
Howdy and welcome.

When you say it looses connection, can you access the built in web admin page? What does ifconfig/ip show?

While I'll accept that a reboot fixes it, my question is that maybe some other issue is at the cause and might be a correctable issue.
 
Old 11-16-2013, 06:37 AM   #3
hi_linux
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
Howdy and welcome.

When you say it looses connection, can you access the built in web admin page? What does ifconfig/ip show?

While I'll accept that a reboot fixes it, my question is that maybe some other issue is at the cause and might be a correctable issue.
Im really a newbie here. Correct me if I'm wrong in assuming that your question pertains to the lan IP. I can access the web admin page of the modem locally via 192.168.1.1. I believe the issue really is that my internet provider and the modem loses sync with each other several times a day. Just today I had to reboot my modem for the fifth time.
 
Old 11-16-2013, 07:09 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,393

Rep: Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652
Your MODEM might be failing or the signal strength might be marginal. Your ISP should be able to check remotely although even if they say it is sufficient it still could be bad.

What type of service do you have i.e. cable etc. A quick google looks like DSL.

With broadband cable corrosion and or loose connections will cause drop outs. Its harder to determine if the phone line has problems.

Last edited by michaelk; 11-16-2013 at 07:30 AM.
 
Old 11-16-2013, 01:25 PM   #5
hi_linux
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
In my diskstation, it can run a task automatically to reboot the modem once the internet goes down. The modem is inside my bedroom and I don't want my children to reboot the modem by themselves whenever I am out so I thought someone can provide me a linux script to solve this issue.

The in-house line was re-wired recently and this is the third modem in 2 months. It's a DSL broadband internet subscription.
 
Old 11-16-2013, 05:18 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,869

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
I'd think that if you can access the lan OK and the wan is off then it has to do with the modem or isp. Usually they have a way to view logs. I know of no way to use linux to reboot a modem unless you have some sort of command line access. In some cases maybe you could create a script with autoexpect or expect maybe?
 
Old 12-15-2013, 08:40 PM   #7
hi_linux
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks all. But still no luck on rebooting the modem using a script. Manually, I was able to reach the modem reboot page by entering //192.168.1.1/reboot.htm but the modem doesn't reboot unless I press the REBOOT button. How can I do it by using a script so it can run automatically.
 
  


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 configuring my usb edge modem (wvdialconf can not detect modem):fedora 9 Asif Akter Linux - Hardware 1 01-10-2011 06:06 AM
installing z55i phone as usb modem or bluetooth modem in fedora manoharan Linux - Hardware 1 10-17-2006 06:42 PM
modem driver for Internal 56Kbps V.92 Data/Fax/Voice Modem sumathi Linux - Hardware 1 08-05-2005 04:12 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 09:21 AM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 02:01 PM


All times are GMT -5. The time now is 02:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration