LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-06-2005, 09:02 PM   #1
alan_t
LQ Newbie
 
Registered: Apr 2005
Location: Australia
Distribution: Xandros
Posts: 5

Rep: Reputation: 0
Setup ADSL so that it works!!


I installed ADSL at the beginning of the year from Telstra. They supplied the Thompson ADSL modem (also known as the ALCATEL ADSL modem). I installed this on my Win Me machine works well.
It has been my thing to get away from the dreaded 'blue screen' and other strange Win habits for a while, finally came up with a Linux distro 'Xandros' that I liked. I used their free version for a while and was very pleased. At the end of last year, I invested in 'Xandros ver 3', installed it and away we went. It found my ADSL modem and with the minimum of fuss, installed it and I was surfing (as well as e-mail)
I use -
AMD-K6 MMX2 500MHZ
256 Meg Ram
80Gig WD. 7200rpm ATA drive (ATA cable)
1.4 Floppy Drive
Nvidia pro64/32 meg AGP vidio card (ATA cable)
DVD combo drive
Intel(R) Pro/100 Alert on Lan Management Adapter

I had been using Xan for about a week when my internet/e-mail disappeared.
'Site not found', 'web address not found'

I had personilised some settings and installed another web browser, thought I had caused a problem, so I re-installed Xan from scratch again. This time a made minimum changes, at each change I checked the 'net and it worked. A few days later the 'net disappeared on me again. In all I have re-installed from scratch four times- each install I MUST have doen some thing wrong. I have persevered with Win for a number of years now and am able to rectify most problems, so I do have a slight idea of what is happening. With Linux I am not clued up at all, so far there has been very little positive happening. Speaking to the good folk at Xandross has not gleaned the results so far. I would like, with a bit of help to solve this. (if it is able to be solved).
Is there anyone who can help with the modem/network setup please.

Thanks.
alan_t
 
Old 04-07-2005, 03:16 PM   #2
frgtn
LQ Newbie
 
Registered: Mar 2005
Location: Kaunas, Lithuania
Distribution: Slackware 10.1
Posts: 28

Rep: Reputation: 15
When your internet "dissapears", can you ping hosts like www.google.com? If not, there's a problem with your adsl connection. You can try using rp-pppoe package ( www.roaringpenguin.com ) . It's a simple console tool: after compiling and installing, you run adsl-setup and configure your isp settings and login. then add some nameservers and you're ready to go: use adsl-start to connect and adsl-stop to disconnect. You might have to disable existing adsl tool before doing using rp-pppoe.
 
Old 04-08-2005, 01:59 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
My first reaction is that this is a dhcp related problem. Sounds like the system is picking up an initial lease which is fine until the lease expires. At this point the system does not pickup a new lease. There my be two factors involved. The system dhcp client is not running and hence not automatically picking up a lease or the router is not issuing a new lease. Since it works in M$ I would surmise that the former scenario is the case. Check that the dhcp client is running and what its configurations are.
 
Old 04-08-2005, 08:08 AM   #4
tp11235
Member
 
Registered: Feb 2005
Posts: 106
Blog Entries: 1

Rep: Reputation: 15
No internet connection with SUSE 9.1

Sorry to piggyback on this thread but I cannot start my own until I have posted 3 times!

I have installed an ethernet card on my SUSE 9.1 PC in order to connect to my home LAN and hence Wanadoo broadband router.

I am 90% sure the card is working - YaST found it and configured it without errors. ifconfig -a gives me:

Link encap:Ethernet HWaddr 00:0B:2B:14:70:FA
inet addr:192.168.1.27 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX Packets:680 errors:0 dropped:0 overruns:0 frame:0
TX Packets:462 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:80381 (78.4 Kb) TX bytes:66113 (64.5 Kb)
Interrupt:5

I think all the TX and RX is my pinging - nothing useful.

pinging 192.168.1.27 gives 100% success.
pinging 192.168.1.255 gives zero success.


I do not know what to do in the Network Services window.

I opened a browser window and tried to connect to a website and got "Unknown host".

I think that I am simply not switching something on. I have not told anything to connect to the internet via the network card.


Any help gratefully received.

Cheers

Tim.
 
Old 04-08-2005, 11:39 AM   #5
tp11235
Member
 
Registered: Feb 2005
Posts: 106
Blog Entries: 1

Rep: Reputation: 15
Cool ADSL Broadband Suse 9.1 - it works and this is how.

I got it to work on my own so I thought I should explain how:

My system is: SuSE 9.1 on a Pentium III-450 machine. I upgraded the kernel to 2.6.11 a few days ago. Today, since my last post, I also added all the various DHCP rpms from the SuSE FTP site. I don't know if that is relevant, but you never know.

I installed my new ethernet card on the PC, plugged it in to my modem and booted the PC. YaST found the card and configured it as best it could without errors. However, at this stage when I opened the browser and tried to navigate to a website I got the error "Hostname not found".

Next I opened YaST and switched off the firewall in Security and Users then I went to Network Devices. Mostly I left the settings as I found them, but this is the setup that finally worked:

Auto setup via DHCP

Click on "Host Name and Name Servers"
Left Host Name and Domain Name as "Linux" and "Site" - I may change these to nicer names later.
Changed Name Server 1 to "192.168.1.1" (I think this is pretty universal for UK broadband users) and Domain Search 1 to "Wanadoo-nnnn"

That last one was probably the vital change. nnnn is a number on my system that I do not think I should broadcast - look on your own hardware for yours. The name was printed on the bottom of my modem. On other systems this may be the name Windows gives the network when it configures it.

Click on Routing and set the default gateway to 192.168.1.1

No changes to the Advanced settings.

I then went to Network Services and clicked on DNS and Host Names. I checked that the Name Server and Domain search were as above. I think it is carried over by the system, but worth a check.

Finally I rebooted, then restarted the firewall.

Opened the browser and navigated straight to this site!

Good luck - it is worth the perseverance . Which is more than can be said for wireless networking.

Tim.
 
Old 04-09-2005, 06:10 AM   #6
alan_t
LQ Newbie
 
Registered: Apr 2005
Location: Australia
Distribution: Xandros
Posts: 5

Original Poster
Rep: Reputation: 0
Setup ADSL

Gee thanks guys for your time.

I have downloaded the file 'rp-pppoe package'from the site, will get into it right after this.

When I 'lose' the internet, I am not able to ping anything, any website, home site, not even the modem, almost as though it is not there.
There must be something, because on startup, the ethernet card is found - when the modem is switched OFF it recognises 'eth0' and says 'Pending'. With the modem switched ON and plugged into the card, it recognises 'eth0' and says 'OK'.
With the modem switched on and plugged into the card, when the internet is not available, I have tried to access the modem through the browser, typing 'http://10.0.0.138' into the address bar - does not find this address at all. If I do this same thing in Win, I get into the modem diags/setup page.

dhcp, ntfs runs on system start - checked when ever this problem rears its head. Will note the settings of both as soon as I get into linux.
Samba is installed and on manual start - will change this as soon as I am connected to a Win machine.

Oh by the way, I have one machine and removeable drawers with my win drive in one and the Xan3 drive in another, I swap these drawers into the machine when I do the thing. I have just about completed the building/testing of an AMD machine for Linux, and am in the process of building another machine for Win (as I organise the brass!!)

Thanks again guys.
alan_t

Last edited by alan_t; 04-09-2005 at 06:11 AM.
 
Old 04-09-2005, 08:01 AM   #7
alan_t
LQ Newbie
 
Registered: Apr 2005
Location: Australia
Distribution: Xandros
Posts: 5

Original Poster
Rep: Reputation: 0
ADSL check

From a console window - 'ping -c 50 10.0.0.2'
Results follow; (Only the first three) Looks OK!

PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.105 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.099 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.100 ms

--- 10.0.0.2 ping statistics ---
50 packets transmitted, 50 received, 0% packet loss, time 49001ms
rtt min/avg/max/mdev = 0.092/0.098/0.113/0.012 ms


From a console window - 'ifconfig -a'
Results follow; Looks OK!

eth0 Link encap:Ethernet HWaddr 00:D0:B7:0B:9F:69
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1762 (1.7 KiB) TX bytes:1319 (1.2 KiB)

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:362 errors:0 dropped:0 overruns:0 frame:0
TX packets:362 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:37851 (36.9 KiB) TX bytes:37851 (36.9 KiB)


From a console window - 'ifconfig eth0'
Results follow; Looks OK!

eth0 Link encap:Ethernet HWaddr 00:D0:B7:0B:9F:69
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1762 (1.7 KiB) TX bytes:1319 (1.2 KiB)


NETWORK CONNECTION
Identification
Computer Name XanMachine

Interfaces
Network Interface eth0 (Intel Corp.)
X Enable Network [tick box]

Use Dynamic Address (DHCP)
Host name Bigpond
IP Address 10.0.0.2
Subnet Mask 255.255.255.0
Gateway 10.0.0.138 [modem address]
X Set Gateway as the default gateway for the system [tick box]

DNS
X Override DHCP DNS Servers [tick box] (I found - no tick in this box, internet doesn't work!)

DNS Servers
Preferred 61.9.208.14
Alternate 61.9.208.14



Am going to ensure the modem is set in 'PPPoE' mode, then go back to linux to install and config., then see what the story is.

Thanks again guys for your help.
alan_t

Last edited by alan_t; 04-09-2005 at 08:05 AM.
 
Old 04-10-2005, 08:34 AM   #8
alan_t
LQ Newbie
 
Registered: Apr 2005
Location: Australia
Distribution: Xandros
Posts: 5

Original Poster
Rep: Reputation: 0
ADSL

Hi guys,

Got back into Linux, used '/go', did the config and install, it went well!!
Did all the things the 'Readme' file said it would. I tried but the 'net did not work. I went into the Xan 'Control Centre', removed the internet and network settings. (these had been from the original install), rebooted the machine, fired up the 'net and away it went. Went back into the 'Control Centre', the new values, from the 'rp-pppoe' install were in internet and network settings.
Have been using the 'net in linux about ten minutes at a time and shutting down. This morning it worked just as well. To pass the test it will have to run in linux for more than a week!! (This is the longest it has run at a time.)

Thanks again tp11235, TigerOC, frgtn, you guys have really made my day!!

alan_t
 
  


Reply



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
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
lan connection works but adsl doesn't, why? trendsetter Linux - Networking 25 11-04-2005 12:31 PM
prblms with ADSL setup. no luck after adsl-setup and netconfig Blue_muppet Slackware 2 07-18-2004 01:20 AM
Everything works fine... but no ADSL!! Conexus Slackware 10 04-11-2004 06:29 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM

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

All times are GMT -5. The time now is 09:49 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
Open Source Consulting | Domain Registration