trying to share internet connection ubuntu and debian etch
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
trying to share internet connection ubuntu and debian etch
hi, i'm following a "tutorial" to configure my two network cards , so that my debian can share it's internet connection with th ubuntu pc
after installing ipmasq and dnsmasq , when i restart dnsmasq it gives an error , "failed to create listening socket: Address already in use (failed to start)
i don't know what to answer when i "dpkg-reconfigure ipmasq"
i didn't went ahead with the steps i was following ,cause this error is not in the example giving , so if i start bad it can't be good.
abd i wasn't able to connect to the net anymore , this resolved after remoiving ipmasq and dnsmasq
i know what i'm doing isn't rite cause i never done this before
i did notice something , a line that goes like "IN= OUT=eth0 ,etc,etc," this is when i would try to acces the internet,
i tried " eth1 ip 10.0.0.8" , Bcast becomes 10.255.255.255 and mask 255.0.0.0
and my ubuntu pc just tries to find a connections ,
hi, i'm following a "tutorial" to configure my two network cards , so that my debian can share it's internet connection with the ubuntu pc after installing ipmasq and dnsmasq , when i restart dnsmasq it gives an error , "failed to create listening socket: Address already in use (failed to start)
Are you already running a DNS named (perhaps a cacheing nameserver) on this machine? If so, it may already have the socket bound for port 53 on one or more of your interfaces.
IMHO, ipmasq is a confusion factor; it generates iptables rules which you could probably generate yourself in a cleaner fashion, and with less debugging. To see the results of its work, you can do
#iptables -nvL
to get a (numeric) listing of all the rules it has produced. In most simple cases, its zone-oriented view of the world just produces a great many more rules than you really need.
There are several tutorials on this topic on the 'Net; a modest example can be found on my site at
yes , i'm running a DNS and yes port 53 is in use , ok that explains the error
ok so i don't really need ipmasq , if i setup the rules myself , i'll check your site later , thnx
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.