Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
10-20-2014, 12:49 PM
|
#31
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
And all is working well now?
|
|
|
10-20-2014, 12:58 PM
|
#32
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
Yes. I didnt have to connect and then reconnect to my wired router in order to get access to 192.168.1.254 this time. Thank you. Also, I think torbrowser loaded quicker too. At least my DNS in torbrowser still works!
|
|
|
10-20-2014, 01:01 PM
|
#33
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
Great to hear... Glad you got it fixed.
|
|
1 members found this post helpful.
|
10-20-2014, 01:03 PM
|
#34
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
But my DNS still doesnt work though. Sorry for the misunderstanding.
|
|
|
10-20-2014, 01:04 PM
|
#35
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
Is it still trying to contact that 10.x address? Your /etc/resolv.conf should point you to the wired router - true? 192.168.2.x?
|
|
|
10-20-2014, 01:11 PM
|
#36
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
Code:
$ cat /etc/resolv.conf
nameserver 192.168.2.123
yeh its still doing the 10.x thing :-(
|
|
|
10-20-2014, 01:14 PM
|
#37
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
hey is information from an strace command any use to you?
Code:
$ strace -e open host -vvv google.com
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/lib/liblwres.so.80", O_RDONLY) = 3
open("/usr/lib/libdns.so.88", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", O_RDONLY) = 3
open("/usr/lib/libbind9.so.80", O_RDONLY) = 3
open("/usr/lib/libisccfg.so.82", O_RDONLY) = 3
open("/usr/lib/libisc.so.84", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libcap.so.2", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libxml2.so.2", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY) = 3
open("/usr/lib/libGeoIP.so.1", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libkrb5.so.3", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libk5crypto.so.3", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libcom_err.so.2", O_RDONLY) = 3
open("/usr/lib/x86_64-linux-gnu/libkrb5support.so.0", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libkeyutils.so.1", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY) = 3
open("/usr/lib/libisccc.so.80", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libattr.so.1", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/liblzma.so.5", O_RDONLY) = 3
open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY) = 3
open("/usr/share/locale/en_GB.UTF-8/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libdst.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB.UTF-8/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libisc.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/ssl/openssl.cnf", O_RDONLY) = 6
open("/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so", O_RDONLY) = 6
open("/usr/share/locale/en_GB.UTF-8/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libdns.cat", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/resolv.conf", O_RDONLY) = 6
Trying "google.com"
;; connection timed out; no servers could be reached
--- SIGTERM (Terminated) @ 0 (0) ---
|
|
|
10-20-2014, 01:21 PM
|
#38
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
You need to look for any files on your machine that are setting that string. Try this either as root or via a sudo:
grep -Ril "10.42.0.1" /
Anything that it outputs would be a file that you should look at to determine its contents. Or, post the filename with its contents here.
|
|
|
10-20-2014, 01:45 PM
|
#39
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
I ran:
Code:
sudo grep -sxRil "10.42.0.1" / --exclude-dir=/home/
-x without this it listed the numbers without the dots (eg. 104201)
-s without this it gave all the error messages for the files it couldnt read etc
--exclude-dir=/home/ I dont think it will be in my home directory
Let me know if you think I shouldnt run any of the flags that I added. It hasnt returned anything yet..
Im afraid to say I think Im losing steam for today.. This grep looks like it might take a few hours. Im very grateful for all your help. Can we continue tomorrow if youre still up for it?
Last edited by jennyj; 10-20-2014 at 01:47 PM.
|
|
|
10-20-2014, 01:50 PM
|
#40
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
You could also exclude /tmp and /var/log - neither of those should contain anything configuration-related.
I won't be able to help much tomorrow until probably around this time. There's plenty of others here that I'm sure will be chiming in to help as well.
|
|
1 members found this post helpful.
|
10-20-2014, 01:59 PM
|
#41
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
OK. Thats fair enough. Like I said, I am very grateful for the help you have provided so far. Youre very sharp for a "LQ Newbie"! Why havent they bumped you up the ladder a few ranks? Would clicking yes to "Did you find this post helpful?" on all your posts do that?
So, in the meanwhile I am running:
Code:
sudo grep -sxRil "10.42.0.1" / --exclude-dir=/home/ --exclude-dir=/var/log --exclude-dir=/tmp
|
|
|
10-20-2014, 02:09 PM
|
#42
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
I -am- a newbie to LQ (LinuxQuestions), I'm just not new to networking, operating systems, or Linux in particular.
I'm supposing that this site is like most and they will change my status based purely on the number of posts I make.
|
|
|
10-20-2014, 02:11 PM
|
#43
|
Member
Registered: Oct 2014
Posts: 176
Rep:
|
Another comment... I believe the "-x" tells your instance of grep to use the enclosed characters to form a complete match and not match in "pieces".
|
|
|
10-20-2014, 02:25 PM
|
#44
|
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,793
|
Quote:
Originally Posted by jennyj
-x without this it listed the numbers without the dots (eg. 104201)
|
Quote:
Originally Posted by ember1205
I believe the "-x" tells your instance of grep to use the enclosed characters to form a complete match and not match in "pieces".
|
Right, you'll be wanting "F" instead of "x". That tells grep to look for just the plain string instead of treating it as a pattern where dot means "any character".
Quote:
I'm supposing that this site is like most and they will change my status based purely on the number of posts I make.
|
"newbie" status ends at 30 posts. http://www.linuxquestions.org/questi...faq#faq_newbie
|
|
|
10-27-2014, 11:54 AM
|
#45
|
LQ Newbie
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26
Original Poster
Rep:
|
Reinstallation of my OS was on the cards but then..
I noticed that bitmask has a standalone bundle:
https://dl.bitmask.net/linux/#instal...d-alone-bundle
I downloaded it and found that it had the bitmask-root command which is said to fix all bitmask-related internet woes. So:
Code:
$ sudo pkexec Bitmask-linux64-0.6.1-4/apps/eip/files/bitmask-root
firewall stop
bitmask-root: done
$ ping www.google.com
PING www.google.com (74.125.230.146) 56(84) bytes of data.
...
...
64 bytes from lhr08s05-in-f18.1e100.net (74.125.230.146): icmp_req=7
ttl=55 time=53.0 ms
^C
--- www.google.com ping statistics ---
508 packets transmitted, 508 received, 0% packet loss, time 507727ms
rtt min/avg/max/mdev = 24.913/43.983/55.628/6.687 ms
IT WORKS!!! WAHOO!
Hey, if you'll excuse the pun, I wonder if its possible to mark this DNS thread as "REsolved"..?
Last edited by jennyj; 10-27-2014 at 12:01 PM.
|
|
|
All times are GMT -5. The time now is 02:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|