can't connect to wired brdbnd net lm13 cinnamon[solved]

Questions about cabled networking
Forum rules
Before you post please read this

can't connect to wired brdbnd net lm13 cinnamon[solved]

Postby opensam on Fri Dec 28, 2012 2:41 am

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.
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

Linux Mint is funded by ads and donations.
 

Re: can't connect to wired broadband internet mint 13 cinnam

Postby opensam on Sun Dec 30, 2012 4:43 am

hmmm 3 days and no reply.....

ok so i guessed there is a dns problem. i tried all sorts of dns but nothing happened.
anyways the output of
Code: Select all
nm-tool

my connection settings
dsl and ethernet:

and the o/p of tracert of to youtube
is attached

again the connection is working fine on lm11 and windows 7.
any help wud be appreciated
Attachments
nm2.jpg
nm2.jpg (39.55 KiB) Viewed 1381 times
ether.jpg
ether.jpg (42.93 KiB) Viewed 1381 times
dsl.jpg
dsl.jpg (48.53 KiB) Viewed 1382 times
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

Re: can't connect to wired broadband internet mint 13 cinnam

Postby opensam on Sun Dec 30, 2012 4:53 am

the remaining two:


what are the last 2 ips.?????(hops 2 and 3).
Attachments
trace.jpg
trace.jpg (35.1 KiB) Viewed 1380 times
nmt1.jpg
nmt1.jpg (61.38 KiB) Viewed 1380 times
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

Re: can't connect to wired broadband internet mint 13 cinnam

Postby billmc on Sun Dec 30, 2012 3:50 pm

You are trying to do the same thing that I've just described in another post

http://forums.linuxmint.com/viewtopic.php?f=150&t=12068

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.
billmc
Level 1
Level 1
 
Posts: 40
Joined: Sat Dec 29, 2012 7:22 pm

Re: can't connect to wired broadband internet mint 13 cinnam

Postby opensam on Mon Dec 31, 2012 3:58 am

dude wat u said makes sense but i m using lm11 now, it has 2 default gateways and as u can see it is working fine.
can u elaborate more on iptables..i don't speak french.
cheers
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

Re: can't connect to wired broadband internet mint 13 cinnam

Postby billmc on Mon Dec 31, 2012 1:32 pm

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.
billmc
Level 1
Level 1
 
Posts: 40
Joined: Sat Dec 29, 2012 7:22 pm

Re: can't connect to wired broadband internet mint 13 cinnam

Postby opensam on Mon Dec 31, 2012 2:48 pm

will do mate
thanx
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

I DID IT!!!

Postby opensam on Wed Jan 02, 2013 2:49 am

so i was browsing networking section of forums.linuxmint.com and i came across this post which said something about resolv.conf file in etc directory.
I edited this file from:
Code: Select all
nameserver  192.168.1.1
nameserver  192.168.1.1


to:
Code: Select all
nameserver  8.8.8.8
nameserver  8.8.4.4


and now the internet connection works just fine.

P.S. don't mind me sayin that I did it
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

Re: can't connect to wired brdbnd net lm13 cinnamon[solved]

Postby billmc on Wed Jan 02, 2013 3:24 pm

Great to hear you got things working, BUT.

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 OVERWRITTEN
nameserver 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.

More reading for you,
"man resolv.conf"

Hey, if this stuff were easy, then anybody could do it, right?
billmc
Level 1
Level 1
 
Posts: 40
Joined: Sat Dec 29, 2012 7:22 pm

Re: can't connect to wired brdbnd net lm13 cinnamon[solved]

Postby opensam on Thu Jan 03, 2013 4:24 am

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.
opensam
Level 1
Level 1
 
Posts: 15
Joined: Wed Oct 24, 2012 9:37 am

Re: can't connect to wired brdbnd net lm13 cinnamon[solved]

Postby billmc on Fri Jan 04, 2013 8:23 pm


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.


Sorry about that. You're right, that link is in French. I musta grabbed the wrong link by mistake.

As I said before, if you've got it working, then all of this is a (sorta) moot point.
billmc
Level 1
Level 1
 
Posts: 40
Joined: Sat Dec 29, 2012 7:22 pm

Linux Mint is funded by ads and donations.
 

Return to Ethernet

Who is online

Users browsing this forum: No registered users and 2 guests