Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
I'm looking through the archives, but haven't found an answer yet.
Trying to set up my new dsl account: Yahoo provided an ip address to register, with a default username and passwd. But firefox couldn't find the server in any of these conditions:
after I connected the dsl modem to my ethernet card.
after I ran "ifconfig eth0 up mtu 1500".
after I gave pppoe-setup the ip address & user info, then ran pppoe-start.
after I connected with my existing dialup account.
after I ran 'pppoe-start etho ""'.
So how do you connect to the registration ip address before you've set up the account? pppoe wants a user, but Yahoo wants to you enter the default user & passwd from the browser, so it doesn't sound like they want pppoe to feed them the user info.
EDIT: The only thing in the archives that seems relevant is a couple mentions of route. The DSL HowTo mentions route in its Static IP section, but not in the PPPoE section. Now I'm reading through the Networking HowTo.
Yahoo provided an ip address to register, with a default username and passwd. But firefox couldn't find the server ... So how do you connect to the registration ip address before you've set up the account?
The Networking HowTo suggested this:
# ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
and the route man page had this example:
# route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
So I did this:
# ifconfig eth0 192.168.0.1 netmask 255.255.255.0 mtu 1500 up
# route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0
192.168.0.1 is the address Yahoo provided. Is that supposed to be the ethernet card, or should eth0 have a different address? The browser still didn't find http://192.168.0.1.
192.168.0.1 is the address Yahoo provided. Is that supposed to be the ethernet card, or should eth0 have a different address?
So if Yahoo tells me I have to surf over to http://192.168.0.1 to register, is that the address I should give eth0, or is it the address of Yahoo's server?
To me it sounds like that is the modems address, try this;
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up
route add default gw 192.168.0.1
ping 192.168.0.1 -c 3
if you can ping it try to go there with the browser; http://192.168.0.1
but I think you are going to have to borrow a laptop with windows on it to set it up and then you will be able to use linux, just my 2 cents.
That sounds reasonable. Is there a way to find out for sure?
Quote:
try this; ifconfig eth0 192.168.0.2
That sounds like a good idea, I'll try it. In the meantime, how do I know what addresses I can/should give things on my machine? How do I know I'm not masking another important resource somewhere that has that address?
Quote:
I think you are going to have to borrow a laptop with windows on it
I hope not, because I really don't want to do that.
How do I know I'm not masking another important resource somewhere that has that address?
How many boxes are connected to that modem?
We are just trying to get to the modems set-up page, should look something like; http://www.shivaranjan.com/shivauplo...warding1_t.jpg
once there you can log in to your isp account and connect to the WAN aka internet.
then I would just connect with dhcp;
dhclient eth0
or
dhcpcd eth0 depending on your distro.
Looks like att handles yahoo dsl, what is the make and model of the modem?
Last edited by comprookie2000; 12-17-2007 at 02:36 PM.
Just one. All I'm trying to do is connect my home machine to the net.
Quote:
We are just trying to get to the modems set-up page
But how do we do that?
Quote:
Looks like att handles yahoo dsl, what is the make and model of the modem?
It's a Motorola, but I'm not sure which number on the case is a model number. There are several labels on the case:
a number with asterisks on either side of it, above a bar code
"Style:MSTATEA"
a serial #, a bar code, and a "MAC" #
a couple codes below "US LISTED"
Quote:
To me it sounds like that is the modems address, try this;
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up
route add default gw 192.168.0.1
ping 192.168.0.1 -c 3
I downloaded the manual. This device is a modem and router. Its IP address on your lan side is set to 192.168.1.254 so the advice to add this to your system as the gateway is correct, unless you have changed the IP address of the router.
Your system should be set to do a DHCP request, this is the default in most distros. That DHCP request should run and the router should give you an address for your system. Run /sbin/ifconfig eth0 to see if it worked.
Once it works, a browser with http://192.168.1.254 in the address bar should connect you to the log in page of the router. Then you can follow th e manual and display or change router settings.
Your ISP needs to tell you how to set things up to connect. There are different ways to do it, their technical support staff can tell you. The only other way to get going is if someone here uses the same ISP and know how to do it.
Today a lot of ISP's require you to log in, so they assign a user ID and password. They also assign your router an IP address, that is their side of the router, not the 192.168.1.254 private IP address you see. The router does NAT ( address translation ). All packets from your system are re-addresses with the address on the ISP side. Don't sweat that, but that is how most of them work. After it is working you probably can find out what IP address you have been assigned on the ISP side.
Post back, I have a copy of the manual, and can probably help...
This device is a modem and router. Its IP address on your lan side is set to 192.168.1.254
That's the admin page, but is it used during normal operation?
Quote:
so the advice to add this to your system as the gateway is correct
Could you translate that into what I need to type on the command line? I still don't understand this stuff very well yet. What exactly is a gateway?
Quote:
unless you have changed the IP address of the router.
Not me, but I'm wondering why the install CD cites a different ip address (192.168.0.1), user (sbcyahooreg@sbcglobal.net), and passwd from what's in the modem's user manual (192.168.1.254, admin).
Quote:
Your system should be set to do a DHCP request, this is the default in most distros.
It's not the default on my system (zenwalk 2.6), but thre's a config file for it (/etc/rc.inet1.conf), and I set eth0 to use dhcp. At this point, dhcpcd is printing some sort of "MAC address" and exiting, and the modem's ETHERNET light is not turning on.
Quote:
Run /sbin/ifconfig eth0 to see if it worked.
eth0 is not coming up. Only lo is up.
Quote:
Your ISP needs to tell you how to set things up to connect.
Have we gotten to that point yet? I can call them, but clueless help-desk drones might not be much use until I have specific questions and as much information as possible. Let me know, I'll call them if you think we need their input.
Quote:
Today a lot of ISP's require you to log in, so they assign a user ID and password. They also assign your router an IP address, that is their side of the router, not the 192.168.1.254 private IP address you see.
There's a setup page on the install CD:
Quote:
Originally Posted by Yahoo
To activate your AT&T Yahoo! High Speed Internet account:
3. If prompted, enter the Access Code found on the bottom of
the DSL Modem and click NEXT.
4. You will be prompted to enter a username and password.
To access the AT&T Yahoo! High Speed Internet registration
servers, you must enter the following username and password:
Username: sbcyahooreg@sbcglobal.net
Password: ***
5. Click Save Changes.
6. The connection process will begin. During the connection process,
the lights on the front of the DSL Modem will first blink green
then turn solid green. This step could take a couple of minutes.
7. At this point of your installation you are connected to the AT&T
Yahoo! High Speed Internet registration server and you are NOT
connected to the Internet.
8. To begin the AT&T Yahoo! High Speed Internet Member registration
process, type the following URL into the Address field of your
Internet browser: https://sbcreg.sbcglobal.net
Note: The address must be entered exactly including the “s” after
the http or the program will not run.
9. Follow the on screen instructions to complete the AT&T Yahoo!
High Speed Internet registration process.
Note: At the end of the AT&T Yahoo! High Speed Internet
registration process, you may see a BLANK (all white) page.
If so, simply continue with the steps below and ignore this page.
10. To finish the installation process and connect your DSL Modem
to the Internet, you must configure your DSL Modem with the
Member ID and password you selected during AT&T Yahoo! High
Speed Internet registration.
To do so, repeat steps 1 though 6 above. In step 4, enter the
Member ID and Password that you created during the registration
process. Click Save Changes.
11. The DSL Modem will now connect to the Internet. This process
may take several minutes.
I just noticed, the modem's ethernet light goes on for a little over 15 seconds before dhcpcd exits. I think the total timeout period is 60 seconds. Then the ethernet light goes off again when dhcpcd exits. FWIW.
What you have to do is type 192.168.0.1 in the address bar of your browser. that will take you to the connection wizard page you're ISP.......then you have to select the type of connection that you would like to create witch is ppp0e connection. Adding your username and password when appicable. then once the wizard is done setting up the connection. open up the terminal and type ifconfig eth0 up 192.168.1.1........there will be a pool of addresses that you can select from in the router page. or what you can do is type in terminal netconfig and select a dhcp configuration and the router will assign the address to your computer for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.