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 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.
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.
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.
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.
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!!)
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!
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.
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.