Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MOL Hijacking DHCP Connectivity in Linux.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
alphasubzero949
n00b
n00b


Joined: 25 Apr 2006
Posts: 5

PostPosted: Tue Apr 25, 2006 4:20 am    Post subject: MOL Hijacking DHCP Connectivity in Linux. Reply with quote

Hey guys...I'm from the Ubuntu forums. Perhaps someone here has an answer or has experienced the same problem with their Gentoo.

I just installed MOL on my PowerBook, set up the networking using tun0 as my interface (en2 on the OS X side), and whatnot. Now...whenever I boot up and log into Linux I have absolutely no network connectivity (can't get online, surf the web, etc.). Only when I launch MOL and start up OS X do I suddenly regain connectivity and all is peachy. OS X via MOL works as advertised in the networking department.

MOL is hijacking something and I have no idea where to begin looking.
These are the Wiki instructions I followed, although I am fairly sure it's similar for MOL on other PPC distros.

There is obviously something I overlooked to have my DHCP up and running on startup. It would be ridiculous to have to launch MOL every time I boot up just to be able to have a connection to the internet from Ubuntu. I've searched both there and here with no luck.

Anyone with any ideas? Thanks.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Tue Apr 25, 2006 5:14 am    Post subject: Reply with quote

I don't know much about ubuntu, other than it's a debian derivative. What you suggest seems incorrect. What is more likely is that when you start mol, modules that are needed by it are automagically loaded. You can check on this by using lsmod before and after starting mol.
Back to top
View user's profile Send private message
alphasubzero949
n00b
n00b


Joined: 25 Apr 2006
Posts: 5

PostPosted: Tue Apr 25, 2006 5:28 am    Post subject: Reply with quote

I don't think MOL is much different on Gentoo since it would have the same dependencies (dhcpd, ipmasq, and dnsmasq).

I did as you suggested and couldn't find anything out of the ordinary. Before launching MOL after booting and logging in, my wireless and ethernet interfaces (eth1 and eth0, respectively) are indeed recognized and I am connected to my network. It's just that I can't get online until after MOL is launched. Even if I shutdown MOL, my connectivity is still retained.

Now I did have to modify my /etc/default/dhcp by adding tun0 to the list of interfaces, but I don't believe that this would have affected anything.

Code:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp by the maintainer scripts

#
# This is a POSIX shell fragment
#

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#       Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="tun0"


PS I did post over at Ubuntu Forums but have yet to receive a response. Also did some more searching (even Google) with no luck. Seems that MOL troubleshooting can be a real PITA and the documentation...well, frankly sucks.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Apr 25, 2006 5:36 am    Post subject: Reply with quote

Perhaps it's a firewall issue? The dhcp thing you posted is for the dhcp server, not for the dhcp client. Check your net settings before starting MOL. What is the default route/gateway? Do you get an IP from dhcp? Can you ping other hosts? Can you ping other hosts by IP? What changes after you start MOL?

I also think you're barking up the wrong tree by looking at MOL as the problem here.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
alphasubzero949
n00b
n00b


Joined: 25 Apr 2006
Posts: 5

PostPosted: Tue Apr 25, 2006 6:31 am    Post subject: Reply with quote

Yup. Good old firewall.

It's one of those things that makes you go "duh" after you spend so much time pulling your hair. The answer was right under my nose the entire time.

Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum