LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mandriva 2009 Cable modem problem (https://www.linuxquestions.org/questions/mandriva-30/mandriva-2009-cable-modem-problem-710859/)

Jackel44 03-11-2009 04:33 PM

Mandriva 2009 Cable modem problem
 
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.

camorri 03-11-2009 06:22 PM

Your router is probably set up to do the PPPoE. With out it, you will need to install a PPPoE package on Mandriva, and configure it.

Jackel44 03-11-2009 08:18 PM

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

richwmn 03-11-2009 09:21 PM

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

Rich

GlennsPref 03-12-2009 06:12 AM

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.

Regards Glenn

ernie 03-12-2009 06:33 AM

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.

HTH,

Jackel44 03-12-2009 07:17 AM

I have unplugged the cable modem several times to reset it.

That is a good idea to clone the router.

I will give it a try

camorri 03-12-2009 10:13 AM

Quote:

PPPoE? Isn't PPPoE for people who need to log in with a user name and password?
That is only part of the story. It also deals with protocol, to the ISP. PPP protocol gets encapsulated over ethernet protocol.

If you don't need it, then forget what I suggested.

ernie 03-12-2009 01:56 PM

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 :).

Jackel44 03-13-2009 03:19 PM

Quote:

Originally Posted by richwmn (Post 3472601)
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

Jackel44 03-13-2009 04:52 PM

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.

ernie 03-14-2009 02:44 AM

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.

HTH,

Jackel44 03-14-2009 03:10 AM

I can change my mac on the router, but I am using VoIP. I want to change my nic to match my router.

I can change it using ifconfig. I wanted to know if I could do it in the control center.

ernie 03-14-2009 11:54 AM

I have only cloned my computer's NIC MAC in the router. I do not know if it can be done the other way around. Sorry, I am unable to help there . . .


All times are GMT -5. The time now is 07:03 PM.