LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2009, 04:33 PM   #1
Jackel44
LQ Newbie
 
Registered: Feb 2006
Distribution: Suse now Mandriva
Posts: 10

Rep: Reputation: 0
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.
 
Old 03-11-2009, 06:22 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,851

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
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.
 
Old 03-11-2009, 08:18 PM   #3
Jackel44
LQ Newbie
 
Registered: Feb 2006
Distribution: Suse now Mandriva
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 03-11-2009, 09:21 PM   #4
richwmn
LQ Newbie
 
Registered: Dec 2005
Location: Athens, GA
Distribution: Slackware (various),Ubuntu 9.04
Posts: 27

Rep: Reputation: 17
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
 
Old 03-12-2009, 06:12 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
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
 
Old 03-12-2009, 06:33 AM   #6
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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,
 
Old 03-12-2009, 07:17 AM   #7
Jackel44
LQ Newbie
 
Registered: Feb 2006
Distribution: Suse now Mandriva
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 03-12-2009, 10:13 AM   #8
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,851

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
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.
 
Old 03-12-2009, 01:56 PM   #9
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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 .
 
Old 03-13-2009, 03:19 PM   #10
Jackel44
LQ Newbie
 
Registered: Feb 2006
Distribution: Suse now Mandriva
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by richwmn View Post
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
 
Old 03-13-2009, 04:52 PM   #11
Jackel44
LQ Newbie
 
Registered: Feb 2006
Distribution: Suse now Mandriva
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 03-14-2009, 02:44 AM   #12
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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,
 
Old 03-14-2009, 03:10 AM   #13
Jackel44
LQ Newbie
 
Registered: Feb 2006
Distribution: Suse now Mandriva
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 03-14-2009, 11:54 AM   #14
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
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 . . .
 
  


Reply

Tags
dhcp, internet, mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2009 dsl problem soulie12000 Linux - Newbie 5 01-16-2009 01:09 AM
problem with vga in mandriva 2009 Javad_Ed Mandriva 6 01-04-2009 05:32 PM
Mandriva 2009 Modem config problems KFL Linux - Hardware 2 12-16-2008 12:13 AM
sound problem with mandriva 2009 nbg Mandriva 2 10-24-2008 06:19 PM
Telephony/Cable modem trouble in Mandriva 2006.0 thisperson Linux - Networking 1 03-18-2006 05:31 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration