Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
 |
|
12-16-2007, 03:37 PM
|
#1
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Setting up dsl acct.
[ Log in to get rid of this advertisement]
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.
Last edited by Hacker X : 12-16-2007 at 04:22 PM.
|
|
|
|
12-16-2007, 07:54 PM
|
#2
|
|
Senior Member
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,144
|
|
|
|
|
12-16-2007, 09:49 PM
|
#3
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by comprookie2000
|
That looks like it's for Windows.
|
|
|
|
12-16-2007, 09:56 PM
|
#4
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by Hacker X
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.
|
|
|
|
12-17-2007, 11:28 AM
|
#5
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by Hacker X
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?
Last edited by Hacker X : 12-17-2007 at 12:16 PM.
|
|
|
|
12-17-2007, 11:46 AM
|
#6
|
|
Senior Member
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,144
|
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.
|
|
|
|
12-17-2007, 01:10 PM
|
#7
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by comprookie2000
To me it sounds like that is the modems address
|
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.
|
|
|
|
12-17-2007, 01:42 PM
|
#8
|
|
Senior Member
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,144
|
Quote:
|
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.
|
|
|
|
12-17-2007, 05:39 PM
|
#9
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by comprookie2000
How many boxes are connected to that modem?
|
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
|
Code:
root[bin]# ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 mtu 1500 up
root[bin]# route add default gw 192.168.0.1
root[bin]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:AC:A6:EA:E9
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4639 errors:0 dropped:0 overruns:0 frame:0
TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:278340 (271.8 KiB) TX bytes:2142 (2.0 KiB)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:501 errors:0 dropped:0 overruns:0 frame:0
TX packets:501 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:38704 (37.7 KiB) TX bytes:38704 (37.7 KiB)
root[bin]# ping 192.168.0.1 -c 3
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 1999ms
, pipe 3
root[bin]#
Last edited by Hacker X : 12-17-2007 at 05:49 PM.
|
|
|
|
12-18-2007, 12:36 PM
|
#11
|
|
Senior Member
Registered: Nov 2002
Location: Toronto Canada
Distribution: Mandrake 9.2 Mandriva 2008.1 Slackware 12.1 , Knoppix.
Posts: 1,939
|
Hacker X,
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...
|
|
|
|
12-18-2007, 03:56 PM
|
#12
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by camorri
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:
1. Open your Internet browser.
2. Type http://192.168.0.01 into the browser’s address line.
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.
|
|
|
|
|
12-18-2007, 04:31 PM
|
#13
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
Quote:
Originally Posted by comprookie2000
try;
fconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
route add default gw 192.168.1.254
ping 192.168.1.254 -c 3
then go to;
http://192.168.1.254
|
That didn't work.
Thanks.
EDIT: The modem's user manual says you can use FF or Safari.
Yes, that's it.
Last edited by Hacker X : 12-18-2007 at 08:14 PM.
|
|
|
|
12-18-2007, 08:15 PM
|
#14
|
|
Member
Registered: Jun 2006
Distribution: Zenwalk
Posts: 73
|
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.
|
|
|
|
12-18-2007, 08:36 PM
|
#15
|
|
Member
Registered: Sep 2006
Posts: 79
|
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.
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:05 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
LQ Podcast
LQ Radio
|
|