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.
I am new to Mandriva. I am trying to set-up my Mandriva box to the Internet. If I plug the box into a router, my Internet works, if I plug it directly into the cable modem using Ethernet I get the icon to turn green and no Internet. I thought that the firewall was blocking the dhcp, so I disabled it temperately. I have tried the settings from the router and tried the automatic.
my PC is a Amd 1700 with 512 Mg ram on an Asus A7v266 MB with 2 D-link Ethernet cards.
I had it setup in SUSE 10.0 and Winblows 2000 server. I just wanted to migrate to a different distro.
PPPoE? Isn't PPPoE for people who need to log in with a user name and password?
In the router settings It said "obtain ip automatically"
here is the router settings
Login Type: DHCP
Internet IP Address: 76.85.???.???
Subnet Mask: 255.255.254.0
Default Gateway: 76.85.???.1
DNS 1: 76.85.???.???
DNS 2: 76.85.???.???
DNS 3: 0.0.0.0
MTU: 1500
I have put the above specs (I replaced the ? with the actual number) in under manual and I have tried the automatic
Last edited by Jackel44; 03-11-2009 at 08:20 PM.
Reason: clarification
All the cable modems I have had dealings with (about 6) have to be unplugged from the AC power to reset them when changing the equipment connected to them. They lock to the mac address of the attached computer or router and will not respond to another until they are reset by removing power.
Alternately, you can have the router clone the mac address of the router, or vice versa.
The cable modems I have had dealings with do not use PPPoE
I agree with richwmn, You might also check that /etc/resolv.conf has the same dns addresses...
I found that resolv daemon was setting the dns's with wins addresses, like 10.11.12.13 and 10.11.12.14
instead of the web ip's for them...I ended up turning the resolv off in system.
My resolv.conf file has this, 2 dns's the isp url, and the local network device ip.
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 203.2.193.67
nameserver 202.135.30.4
nameserver 192.168.0.2
search vfinternet.au
But this is for a usb g3 modem, yours may not be affected the same way.
If you want to be able to use your router as a gateway for regular use, but also bypass the router (connecting the computer directly to the cable modem) for troubleshooting purposes, the easiest way is to set the router up to clone the computer's MAC ID, then the cable modem will think it is connected to the same device whether it is connected to the computer or the router.
If you own a routrer, I strongly suggest you connect to it for regular use because it will act as a hardware firewall (one more layer of security) as well as an Internet gateway device. Also, I believe it is best to continue to use the firewall software on your computer as a second layer between your computer and the Internet.
If your cable Internet service provider is also your telephone service provider, your cable modem may have a battery back up. The following cable modem power cycle procedure accommodates that possibility. If your cable modem does not have a battery, follow steps 1, 3, and 5 below to power cycle your cable modem:
1. Unplug the cable modem
2. Disconnect the battery (located in the bottom of the modem here)
3. Wait about ten seconds
4. Re-connect the battery
5. Plug in the modem
This procedure should reset your cable modem so it will learn the MAC ID of the currently connected device (router or computer's Ethernet adapter).
If you are going to clone the MAC ID for your computer's Ethernet device (NIC card) in the router, set the router up to clone the computer's MAC ID before you power cycle the cable modem. To get the MAC ID for your computer's Ethernet device open a terminal window and su to root. At the command prompt execute
Code:
ifconfig
ifconfig will report the configuration for all configured devices. Since you are using a wired connection (to the router), the device we are interested in is named eth0. The MAC ID is in the first line of output for eth0 and is labeled as:
Code:
Link encap:Ethernet HWaddr ??:??:??:??:??:??
Note: I have replaced the actual MAC ID with the ? character as a place holder. The MAC ID consists of six hexadecimal numbers (in the range 00 to ff) separated by the colon ( : ) character. This is the number your router should clone.
Please do not be offended if you already knew this information. If so, perhaps it will be of help to someone .
All the cable modems I have had dealings with (about 6) have to be unplugged from the AC power to reset them when changing the equipment connected to them. They lock to the mac address of the attached computer or router and will not respond to another until they are reset by removing power.
Rich
Thanks Rich that did the trick I can access the web.
When I go to click on the share the Internet it lets me pick my adapter and it says "that no Ethernet adapter has been detected please run hardware detection wizard" I run the wizard I can see 2 adapters
How do you clone your mac for the computer. I am using VoIP and I don't want to have to call up and change the mac for the service. Especially if I plan on moving nic cards around or swich computers frequently.
Your router has a LAN IP address (Linksys is 192.168.1.1) Enter the router's IP address in your WEB Browser's location bar and press the ENTER key. You should get a login dialog. Enter your router's user name (if any) and password to log in.
Recent Linksys router's log in to the setup tab. Under the setup tab is a sub-tab named mac address clone. THis is where you enter the mac id for your computer's NIC card.
Other routers may have the cloning information located elsewhere.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.