LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-21-2011, 02:17 PM   #1
FunnyHarry
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
How to connect to a wired modem with a username and password


I am trying to connect to the internet with ADSL modem. I am not sure what "network" option to use, wired or DSL, what settings to make and where to place my username and password.

Help would be greatly appreciated as I have learned to love linux for the simple things in life
 
Old 09-21-2011, 02:22 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ

Take a look at pppoe
http://www.techotopia.com/index.php/...to_a_DSL_Modem

Kind regards
 
Old 09-21-2011, 06:09 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,373

Rep: Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381
Most modems have a few ways to run them. Some run can be set to pass through. Then the user logon could be in the soho router instead of on your computer. I suggest that way so anytime you change OS's you don't have to re-set stuff up.

Last edited by jefro; 09-21-2011 at 06:52 PM.
 
Old 09-23-2011, 11:13 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by FunnyHarry View Post
I am not sure what "network" option to use, wired or DSL,
I am not clear quite what you are asking; is the question 'what settings do i use on my computer, to configure the (presumably wired) connection to my ADSL Modem/router?', or is it 'What settings do I need in my Modem/Router to connect to my ISP?'.

Quote:
Originally Posted by FunnyHarry View Post
...where to place my username and password...
Most m/routers have an internal web page that you can log into, to perform configuration. This is normally something like 192.168.0.0 or 192.168.0.0, but should be described in the manual for the device. This will allow you perform all the configuration that the box itself needs. You may need some details from the ISP - your user ID, your password, the protocol that this particular ISP uses (normally, the ISP will be quite good at supplying this information, otherwise their cust support would be overloaded, trying to cope). Note that this all concerns the connection between the m/r and the ISP, and there is no point in fiddling with the connection between the ISP and your m/r, if the problem is your connection to the m/r from your computer.

You will need to get the connection between your computer and the m/r to do any configuring of the m/r, so work on that first.

One way or another, your m/r will want to get DNS details: these can sometimes be obtained 'automagically' from the ISP or entered manually, but you do not have to use your ISP's servers for this and can use an alternative. Some ISPs do a really bad job at running nameservers, and if 'dig' shows up poor look-up times, particularly on a first look-up (not from cache), consider either changing or using a local cache.

Even if DNS is not working/not configured correctly, you should be able to 'ping' by ip address any other network devices which exist local to your network;
Code:
ping 192.168.0.1
should give you a response, if there is a device on 192.168.0.1 (an address local to your network, presumed your m/r) listening and ready to talk.
Code:
ping www.google.com
will fail, if DNS is not working. So, if a 'ping' to an external network address, eg Google's DNS servers on 8.8.8.8 and 8.8.4.4, works, but www.google.com fails, you have a DNS problem.

(Note; if your m/r performs something like mDNS/Avahi/Bonjour, and i think that they more-or-less all do, these days, it may well set up some of this for you; this protocol allows the m/r to 'advertise' its capabilities, and, assuming that you are running an appropriate client, you should pick up the fact that it can do DNS resolution and that it should be your default gateway to the internet. If you are running Networkmanager or WiCD on your computer, that should mean that this all happens 'automagically', and that it would continue to happen automagically if you moved to another network, even though the addresses might change.)

(Yet another 'note also': the name resolution (DNS) can be performed (I actually mean cached, but that's a slightly subtle distinction) on your computer or on your m/r; in terms of getting things working, it probably makes no difference. To get your m/r to do it, enter the ip address of the m/r as your DNS server, on your computer's network settings (probably easiest, assuming that your model of m/r does this). Alternatively, use, eg, the Google ips above or your ISPs versions on your computer. If the latency of the lookups is a real problem, run a caching program (eg, DNSMASQ) on your computer, and hook it up to, eg, Google's DNS.)

(Other providers exist, apart from Google (eg, OpenDNS), but they'll probably function adequately, unless blocked by your Government, in most locations.)

Last edited by salasi; 09-23-2011 at 11:13 AM. Reason: typo
 
  


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
Modem initializes OK but I get error for username password indy_troglodyte Linux - Newbie 4 10-25-2008 03:06 PM
can't install modem and forget username & password HadiHasan Linux - Newbie 8 03-11-2003 04:15 PM
can't install modem and forget username & password HadiHasan Linux - Hardware 2 03-10-2003 09:23 PM
can't install modem and forget username & password HadiHasan Linux - Software 1 03-10-2003 03:27 AM
can't install modem and forget username & password HadiHasan Linux - Networking 1 03-10-2003 03:27 AM


All times are GMT -5. The time now is 11:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration