[URGENT] Internet connection problem w/ bamboo 'n' cable modem
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
[URGENT] Internet connection problem w/ bamboo 'n' cable modem
Hi!
I cannot connect to internet with my ISP's cable modem. This doesn't seems to be a modem problem or even a Ethernet card problem since I already saw many questions in several sites mentioning the same. So I did try to it first before bothering halfworld
Odd enough, no useful reply is given, not even in Mandrake Expert
Many reported that with the same machine that now gives them probs it did worked fine with 9.0. And also mentioned by others and by myself that everything works smoothly in M$ Windows 2000 PRO or XP
Mandrake's Control Center reports eth0 is up, configured for dhcp with the correct driver (8139too), no IP Address defined and Internet Access Type = lan.
ifconfig shows 3 entries. lo, eth0 with appropriate HWaddr but no IP address and also an entry for eth0:9 with the same HWaddr as eth0. This also has a inet addr of 169.254.211.159.
Where did this come from? There is no ifcfg-eth0:9 in the network-scripts. I manually configured resolv.conf for my ISP (as mentioned in one of the few prob replyes I found) to no avail.
And also I think it is important to mention that when 9.1 is booting it hangs on "Bringing up interface ETH0" (close wording). It will eventually pass as [OK] and continue.
Then, when I open the Mandrake Control Center to view network config, it says the eth0 is up but no IP address is listed. The network config is using DHCP. And it cannot connect to Internet on testing connection.
The most funny part is that in the cablemodem the "Status" LED is On; and the "Cable" and "PC" LEDs blink when MCC try to connect or even if I try to /sbin/dhcpcd -dBH eth0 on command line.
Of course, PINGging is absolutly useless since it always returns a "No host found" message
Anyone know what might be going on. What did change between 9.0 and 9.1 in this area?
Re: [URGENT] Internet connection problem w/ bamboo 'n' cable modem
Quote:
Originally posted by humaneasy Hi!
ifconfig shows 3 entries. lo, eth0 with appropriate HWaddr but no IP address and also an entry for eth0:9 with the same HWaddr as eth0. This also has a inet addr of 169.254.211.159.
When ifconfig reports an IP of 169.254.211.159 it means dhcp was not set up correctly.
Fire up MCC (Mandrake Control Center) and click on Network & Internet > DrakConnect > Wizard. At this point check that "Use auto detection" is enabled and while your at it "Expert Mode", click Next.
If LAN connection is selected, deselect it and choose instead "Cable connection", click Next.
Now your asked which dhcp-client you want, the default should be "dhcp-client, run with it, click Next. At this point it might install some packages, relax.
Now your asked if it detected the correct NIC, if so say No to having another one and click Next.
Now on this page you can choose if your box will use a host name assinged from the DHCP address it will soon get and start at boot. If those are ok, run with it, click next.
This page needs no explination, click next.
This page needs no explination, click next.
Again, this page needs no explination. The rest you can cypher.
On a side note. I do not know why but I have had to reboot the machine to get this to work. I have tried restarting dhcpd, network and anything else I thought needed but nothing work as I said without rebooting.
I did the fresh install. Now I changed from "lan" to "cable" when the "summary" screen appeared in the instalation process. Everything seems to go well but...
When entering the system it reverted to "lan", so I tryed once more changing it throughout MCC without aparent success
I reboot it and I noticed a fast message that appeared on screen for a brief moment:
Quote:
Cannot change /etc/resolv.conf. You don't have rights to do that
or something like that. I mean, the text was not with this exact words but it said that I don't have rights to modify /etc/resolv.conf
I did the fresh install. Now I changed from "lan" to "cable" when the "summary" screen appeared in the instalation process. Everything seems to go well but...
When entering the system it reverted to "lan", so I tryed once more changing it throughout MCC without aparent success
I reboot it and I noticed a fast message that appeared on screen for a brief moment:
or something like that. I mean, the text was not with this exact words but it said that I don't have rights to modify /etc/resolv.conf
This gives someone a light on the problem
I'm a so please be explicit
Lopo
Check the permissions on /etc/resolv.conf. Doesn't make sense really since you have to be root to run MCC so root should have write access to resolv.conf.
/etc/resolv.conf has 644 - root - root and zero bytes
It looks like a joke but it isn't
Do you know what configuration files should I modify by hand to make it work? And what do their "insides" should look like?
Best and thanks,
Lopo
Well since it is only complaining about resolv.conf I would change the permiisions of it to be the same as the other files in /etc. The contents should look like this;
The name servers are the primary, secondary and ternary DNS servers used/provided by your ISP. If your using a firewall/router just log into it and hunt around for that information. If not then call your ISP and find out what those are for your area.
Shouldn't Tipo (Type) be "cable" instead of "lan"?
Shouldn't Protocolo (Protocol) be "dhcp" instead of "static" hence I don't have a static IP address but a dynamic one?
Hope you can help. If need more screenshots please ask.
Shouldn't Tipo (Type) be "cable" instead of "lan"?
Shouldn't Protocolo (Protocol) be "dhcp" instead of "static" hence I don't have a static IP address but a dynamic one?
Originally posted by camelrider Are you running Mandraqke at "Paranoid" security level? Maybe it set the "immutable" bit on /etc/resolv.conf.
(man chattr)
Originally posted by stumbles Yes is should say cable instead.
Where the hell can I change it
And "Protocol"? Did you saw the pic?
Quote:
Originally posted by camelrider Are you running Mandrake at "Paranoid" security level? Maybe it set the "immutable" bit on /etc/resolv.conf.
(man chattr)
I don't know When I installed I set it to the lowest level... but I have shorewall installed and in MCC it as the option to allow all requests from internet checked and I uncheck it (that was when shorewall was installed).
Originally posted by humaneasy One more little thing...
If you feel in the mood to post a step-by-step mini-how-to for dummy s my data - token from MsWindows IPCONFIG - to access the Cable ISP is:
DNS Server: netcabo.pt
IP Address: 81.84.129.29
Mask: 255.255.254.0
Gateway: 81.84.129.254
Run up MCC, go to DrakConnect. Click Expert Mode then Wizard.
Auto detection should already be checked, also enable Expert Mode, click Next.
Deselect LAN connection and click on Cable connection, click Next.
Click dhcp-client then Next.
Click Next.
Again Click Next.
You should now be at the window to assign a static IP. Enable Automatic IP. If you do not want the host name to be something relating to your IPSs domain then deselect "Assign host name from DHCP address" and on the "DHCP host name line enter what you want your box host name to be, then click Next.
If you want to use Zeroconf then enter the host name of your box. Same for Host name (FQDN). Click Next and Next.
Once it is done restarting the network you should end up back at the first display of Drakconnect.
At the top click Configure Internet Access and enter the gateway IP (81.84.129.254).
Now click on Conifgure Local Area Network. Delete the IP and Netmask if there. Check the Boot Protocol is DHCP and start at boot. Click Ok.
Clcik Apply and then Ok. Restart the system. I know you should have to restart the machine but I have not been able to get this sort of connection working without one.
Spending a full night awake looking to Mdk and going back and forth from Linux machine to Windows machine was not my idea of starting my birthday
Latter I will post an URL to a small page with explained screenshots of all steps I took so you can see if there is something wrong. I also had screenshots from DrakSec and DrakFirewall
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.