Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
If you have it working now you can configure the connection that way and then you will see how it creates the ifcfg- files.
The name will be your login name for your isp, the connection is ppp over ethernet so it is just like dialup, you must login even though it's tunnelled trough the ethernet connection.
I would configure the interface to come up on boot. You should see the option in the configuration.
If your dialup is configured another way then the ppp0 will not show as active. You can configure that connection as well, using the redhat-config-network tool.
It's very unlikely that the ppp ip address would need to be set manually, the eth interface needs no ip address.
OK, well, today is the day my DSL service should be turned on.
I've tried a couple things to connect and nothing has worked so far.
With redhat-config-network, I tried activating my eth0 connection
and when that didn't work, I tried to create a new xDSL connection.
I think the creation there was OK but I wasn't able to activate it (it couldn't find the IP address). I'm going to give the support people at SBC a call
but I'm afraid they'll tell me to go out and buy a Windows box....
Hi again. I did talk to an SBC support person. He told me that if my network adapter is enabled, then I should be able to visit their modem
registration site---he gave me the URL---and register myself manually.
I have to do this using DSL, not my dialup.
How do I know if my network adapter is enabled? And if it is, is there
some other obvious thing I need to do in order to browse the internet using DSL (analogous to using kppp to initiate a connection with my dialup service)? I tried just entering the URL in my browser but got an error message.
Hello again. The DSL connection seems to be established now, but it's much slower than I expected!
It takes mozilla a long time to resolve hostnames and
transfer data. Sometimes it simply gives up---it told me a couple of times that it couldn't find www.linuxquestions.org. FWIW, here's the output of
ifconf eth0:
Er---what exactly does it mean to "restart the ppp interface"?
I made the changes you suggested re ifconfig eth0
and ifcfg-ppp1, but when I did ifconfig eth0 some time later the mtu was back to 1500. Is there a more permanent way to change it?
The browser is sometimes OK and sometimes very slow. What's almost always bad is the ssh connection to my shell account. It takes forever to establish the connection and then after a few minutes the connection seems just to die. I spent 3 hours trying to send an e-mail but I kept losing the connection.
I tried editing /etc/resolve.conf and putting my ISP's DNS server IPs. FWIW, here's the output of
netstat -rna:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Restart the interface would be to deactivate the connection and then reconnect so the settings in the ifcfg-ppp1 file will be read.
The eth0 interface will default to 1500. you need to set the mtu like this for it to be used after the eth0 interface is restarted.
The file is ifcfg-eth0, the setting is..
MTU=1412
Be sure about the nameservers in /etc/resolv.conf then you should run the firewall tool to setup the nameservers in it after the connection is started.
To restart the interface, is it enough to deactivate and reactivate eth0 in redhat-config-network? ppp1 always shows "inactive" anyway.
The firewall I'm using is lokkit. As far as I can tell, it doesn't offer any
opportunity to set up the nameservers. When I look at the DNS section of redhat-config-network, it shows what I think are the correct addresses for my ISP.
Thanks. I actually just started a new thread in the networking forum,
since my problems aren't with the installation any more.
BTW, could you tell me what the mtu 1412 and CLAMPMSS=1412
is all about? I couldn't say for sure how much of a difference these changes have made. Sometimes the connection will seem fine for a few minutes at a time but then the browser will freeze and dig/ping commands start timing out saying "server not found".
Thanks very much for all your help. Oh and BTW, I've visited that site you mentioned with the tweak tests but I haven't been able to run them---not sure whether it's a java problem or whether there are already too many people running them.
Hello. I started using my other network card and all of a sudden the connection was just fine. Here's hoping it will last! Anyway, thank you very much for your patient help.
I have seen a few problems with network cards before but they are pretty rare. Good thing you had another one.
The MTU setting determines the max size of a transmitted packet...
MaximumTransmitUnit
The clamp MSS is pretty common for DSL due to the nature of the connection. In order to send packets through the ethernet connection they have to be decreased in size to allow room for the TCP headers. Clamping is a way of fragmenting the packets so they will fit. The is handled by the connection software and can be a strain on the CPU of a slow computer. By manually setting the MTU to a working size you basically restrict the size of the packet that is passed through the connection.
I just thought it may be something to try in case the Clamping was not working for some reason. The result of it not working would be that sending email will not work and some websites will not load.
It does seem that the errors you saw with ifconfig before were causing major problems and were probably occurring at the times when you said the connection was not working. It might also be that the card would work better when connected to another network instead of the Modem so you may be able to use it anyway if you decide to share the connection. Then I guess it could be bad. I have about ten of those same cards and have not seen a bad one or one with errors like that yet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.