i installed mint 13 cinnamon in dual mode. Everything was working fine including the wired broadband DSL connection , when i decided to use my laptop as wireless hotspot.I made a wireless ad-hoc network and put it in share with other computers mode in ipv4 settings...i uncommented the "net.ipv4.ip_forward=1" in sysctl.conf file and BANG ...nothing happened.

Long story short hotspot didn't work and i haven't been able to access internet since then from lm13. (there are a couple of connections a DSL and an Ethernet & both seems to connect flawlessly)

yes i've commented that portion and i i've deleted previous connections and made new ones.

Anyways any help would be really appreciated.Thanx in advance

Last edited by opensam on Wed Jan 02, 2013 2:51 am, edited 1 time in total.

You need to set your laptop up as a router using IPTABLES, in order to have the traffic from the wireless network forwarded to the ISP router.

You show 2 wired networks, with 2 different default routes. A default route is the route packets take, when they don't know where else to go. If you have more than one default route, they still don't know where to go, so they don't go anywhere. Only establish ONE default route. This would be on the network that goes to your ISP connection.

Regarding the 2 default gateways. I guess if its working for you fine; "If it ain't broke, don't fix it". But the purpose of a default gateway, is when every other direction doesn't work -> always go in this direction. Now if you have 2 always go in this directions, the problem becomes which one of the two do I always go to. (This does not depend on which flavor of Linux you use. This is a function of networking (think TCP/IP protocols) itself. You'll find the same thing in Windows, BSD, OS X, etc. Any system that uses TCP/IP.)

IPTABLES is the packet filtering system in Linux. Another way of thinking about it, its the firewall. It can be quit complicated, therefore able to do many things. I'd suggest you begin with the man page, "man iptables". From there, Google and maybe a couple of good books on the subject.

The /etc/resolv.conf file id the file that will contain a list of nameservers. DNS, Domain Name Server (services). Forgive me if I'm speaking French again, I flunked that in school and can never tell when I speak it or not. Also forgive me if I take a simplistic approach, because I don't know what you do/do not know about this stuff.

Computers work with numbers, not words. People do better with words. Each computer has a numerical address; using IPv4 it consists of 4 octets, which you're used to seeing as xxx.xxx.xxx.xxx

A Domain Name Server, will translate a name (words), into numbers the computer can understand. The /etc/resolv.conf file, conatins a list of numerical addresses for your computer to ask "What's the number address of http://www.foo.com? that server will then send back a numerical address, so that your computer can find it.

It used to be, that you edited this file directly (and you still can, depending on which distro you're using and/or where you stick the lines in the file). But here is what the begining of my file (from Ubuntu 12.04) says:# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTENnameserver 127.0.0.1

127.0.0.1 is your loopback address, it is an internal address of your computer.

You may just find, that the changes you've made, will not be there the next time you boot. Also unless those addresses you put in there, are valid nameserver addresses, you may discover that you can't go anywhere on the network (internet or otherwise) unless you use a numerical address.

Forgive me if I'm speaking French again, I flunked that in school and can never tell when I speak it or not. Also forgive me if I take a simplistic approach, because I don't know what you do/do not know about this stuff.

dude u misunderstood me!!!. That link u posted earlier redirected to a post that was,i think, in french. And as for my knowledge , i m certainly not an expert but i do know what a DNS is. I never mentioned one thing, during that blackout period i could still access net by editing the /etc/hosts file. That's why i was certain that it was a DNS problem.

I m not ungrateful . My internet connection is working fine now. So thanx a lot.

Forgive me if I'm speaking French again, I flunked that in school and can never tell when I speak it or not. Also forgive me if I take a simplistic approach, because I don't know what you do/do not know about this stuff.