LinuxQuestions.org
Visit Jeremy's Blog.
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 11-28-2015, 08:17 AM   #16
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1

Quote:
Originally Posted by yancek View Post
Did you check on the bottom of the modem for a sticker which has the default admin user name and password? Pretty common on newer ones.
Open a terminal and run this command: route -n You should see output similar to that below:



Note the IP address under Gateway which will probably be different. Open a web browser and enter it: http://192.168.0.1 (obviously change this IP to whatever you got in your output. Hit the enter key and it should take you to the setup page.
Hello,

I'm sorry for answering so late, but I lost all connection at my place due to re-configuring my dlink router and I didn't have internet access for a while.

I managed to get the connection back, but my new modem still doesn't connect.

Hi yancek,

The route -n command doesn't work anymore on many distors. Luckily, I have 7 different linux distros installed on different partitions and I had an older Mint version, which still accepted that command.

It gave my the same address that you posted, which took me to mydlink router admin box. I reset my router and re-configured it from scratch.

In the meantime, I talked to my isp technical support and they told me if the router is properly configured the modem should work without further configuration. No need to do anything.

I hope I configured the router well – I'm not sure though. My old modem seems to be working and more stable than it was before but when I woke up this morning connection was dropped and I had to restart the modem to get it back.
Could it be that all my problems are router related? Or maybe I have permission problems?

Any idea?
 
Old 11-28-2015, 08:34 AM   #17
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by yancek View Post
Did you check on the bottom of the modem for a sticker which has the default admin user name and password? Pretty common on newer ones.
Open a terminal and run this command: route -n You should see output similar to that below:
As the OP discovered, the route command has been deprecated and in some cases removed. The command to use is ip route; or ip r.

The ip command replaces ifconfig, arp, route and perhaps a few other old commands. More importantly, it supports networking concepts that have not been incorporated into the venerable ifconfig, such as tunnels or tuns/taps.
 
Old 11-28-2015, 09:01 AM   #18
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by berndbausch View Post
As the OP discovered, the route command has been deprecated and in some cases removed. The command to use is ip route; or ip r.

The ip command replaces ifconfig, arp, route and perhaps a few other old commands. More importantly, it supports networking concepts that have not been incorporated into the venerable ifconfig, such as tunnels or tuns/taps.
Hi berndbausch,

I checked the modem but no username or passwd is printed on the sticker; the isp support told me there is no need to configure the modem if the router is properly configured it should work.
 
Old 11-28-2015, 01:50 PM   #19
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,286
Blog Entries: 24

Rep: Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238Reputation: 4238
Quote:
Originally Posted by jozmak View Post
In the meantime, I talked to my isp technical support and they told me if the router is properly configured the modem should work without further configuration. No need to do anything.
I just don't believe them. If that is true then EITHER they pre-configure the modem with your username and password AND disable the modem reset to prevent changing it, OR they have wide open passwordless public access for anyone that wants to connect to their system!

Lets give the benefit of the doubt and assume they have pre-configured your user and pass - in that case look at the manual linked earlier on the last page see if the little lights show that it is connected.

It may be that the modem parameter defaults do not need to be changed, but at the minimum you will need to enter your user and password to connect.

* Power = green
* DSL = green
* Internet = green
* Ethernet = green (if cable is plugged to router or directly to computer - router config should not matter)

If any of these are not green then forget ANY configuration other than the modem, and you must first get access to that admin utility or you are spitting into the wind, as they say.

1. To get such access, take the router out of the picture and connect drectly to your computer as shown on page 4 of the manual.

2. Then, with the modem powered on (give it a minute to get started), press and hold the reset button on back of the modem as from page 11 of the manual. Allow the modem to get started, about a minute...

3. Reboot the computer so that it will pick up its address via DHCP from the modem. This assumes that you are not using static IP on the computer, which I also doubt would be the case.

4. Once the computer is booted, copy and paste the output of either route, or ip route as noted earlied...

Code:
sudo route

OR

sudo ip route

(sudo may or may not be required on your machine...)
Either of those will, or should, include a "default" address... type THAT address into the browser and you will, or should, be able to see modem's admin login... if you do, then enter the admin credentials from the manual.

If you cannot get to this end state, post back clearly the state of the blinky lights on the modem and the output of route or ip, and ifconfig from the computer, and prepare to packge the thing for return to ISP.

Last edited by astrogeek; 11-28-2015 at 01:54 PM. Reason: topos, typs, typos
 
Old 11-28-2015, 03:45 PM   #20
jozmak
Member
 
Registered: Aug 2005
Posts: 81

Original Poster
Rep: Reputation: 1
Hello,

Problem solved. It was wrong router setup.

I was reading a debian tutorial how to set up a router and I found this line:

“For Login, fill in the username you set up when you registered your account with the ISP. (That will be “Somebody@att.net” — but without the quotes, of course. It's important to remember the “@att.net” part.)”

When I set up the my router username I only entered the first part of the email address, like when you login gmail. There you don't need the entire email address to login.

I opened the router again and run the configuration wizzard again with the new username and it worked.

What mystifies me is that the older modem worked even without the complete email address as username.

I thank you everyone for the good tips; I have been working on this connection issue for a close to a week but I feel the time was not wasted because I learned a lot along the way and the next time I will be much smarter.
 
  


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
i can not connect to t he Internet by using modem connect moon_nader Linux - Networking 3 06-15-2010 03:12 PM
why my modem doesn't connect durin dial-up? buvanesh Linux - Newbie 4 10-28-2006 04:58 AM
cannot connect to the internet with modem shams Linux - Software 2 03-26-2004 10:13 PM
can't connect to the internet via modem shams Linux - Software 3 03-17-2004 11:06 PM
how do I connect to the Internet with a modem? slice4e Linux - General 2 05-09-2003 10:21 PM

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

All times are GMT -5. The time now is 05:08 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