LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-24-2007, 05:43 AM   #1
boonebytes
LQ Newbie
 
Registered: Jan 2006
Distribution: Fedora Core 5
Posts: 7

Rep: Reputation: 0
Mac OS X 10.4 w/ Mandriva 2007 - Cable Unplugged?


Hi everyone,

I'm trying to get my Mandriva 2007 Linux box online through my Mac OS X 10.4 Tiger workstation. I have a crossover cable connected between the two (and the cable works... I plugged my laptop to my Mac, and the connection worked great). The NIC inside the Linux box is also a known-good, as it was connected to a router a while ago (in my previous residence).

The reason I need my Linux box connected to my Mac is because my Linux box does not have a wireless network card, and the internet is on the other side of this house. This is only going to be a temporary solution for the next month or two, until I get my own place. Then, I'll learn how to use the Linux box as my gateway to the internet.

My Mac serves DHCP requests on its built-in ethernet port. When I connected my Windows XP Pro laptop via the crossover cable, it was able to pick up an IP and communicate with no problems with the Mac, and thus to the internet (the Mac does routing, since I have enabled Internet Sharing). However, when I connect the Mac to the Linux box, the Mac reports that the cable is unplugged.

This problem also exists in Fedora Core 5, which I had previously installed on the Linux box as well. When I go to the Linux box, it reports that eth0 is up, but it does not provide an IP address. Also, a "dhclient" command simply returns the discovers... there are no replies. If I try supplying a static IP (through the GUI), ifconfig still reports no IP address. ifconfig only reports "UP BROADCAST MULTICAST", so it sounds like it notices a problem too... (this is a speculation... I've seen the loopback interface provide "RUNNING", so I'm guessing that means "Connected, no known problems")

Any ideas on how to get this working? Thanks!
 
Old 02-25-2007, 02:15 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I have had a lot of problems in the past using Internet Sharing on OS X where the built-in DHCP server refused to give out leases to some devices. There would be no error logged on the Mac, the device would just say no DHCP server was available.

Perhaps you should try setting up a static IP to see if that gets you any connectivity. Setting the Linux machine's IP to 10.0.2.2 with a default gateway of 10.0.2.1 would work assuming default Internet Sharing settings.

Although that does not explain the "Cable Unplugged" message at all...
 
  


Reply

Tags
apple, macintosh, mandriva, sharing


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
both eth0 and eth1 ping fail when one ethernet cable is unplugged powah Linux - Networking 12 04-10-2007 02:54 PM
Upgrading Mandriva 2007.0 to 2007.1 Genin Mandriva 2 12-25-2006 02:48 AM
Windows box shows "Network cable unplugged" when hooked up to my Linux router drkstr Linux - Networking 5 10-03-2006 04:44 PM
Network Cable Unplugged on Windows Caused by Linux Redhat 9.0 nader_hos Linux - Networking 8 07-26-2006 02:24 AM


All times are GMT -5. The time now is 01:31 AM.

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