LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2014, 12:49 PM   #31
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16

And all is working well now?
 
Old 10-20-2014, 12:58 PM   #32
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
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!
 
Old 10-20-2014, 01:01 PM   #33
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
Great to hear... Glad you got it fixed.
 
1 members found this post helpful.
Old 10-20-2014, 01:03 PM   #34
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
But my DNS still doesnt work though. Sorry for the misunderstanding.
 
Old 10-20-2014, 01:04 PM   #35
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
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?
 
Old 10-20-2014, 01:11 PM   #36
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
Code:
$ cat /etc/resolv.conf
nameserver 192.168.2.123
yeh its still doing the 10.x thing :-(
 
Old 10-20-2014, 01:14 PM   #37
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
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) ---
 
Old 10-20-2014, 01:21 PM   #38
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
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.
 
Old 10-20-2014, 01:45 PM   #39
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-20-2014, 01:50 PM   #40
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
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.
Old 10-20-2014, 01:59 PM   #41
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-20-2014, 02:09 PM   #42
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
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.
 
Old 10-20-2014, 02:11 PM   #43
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
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".
 
Old 10-20-2014, 02:25 PM   #44
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,793

Rep: Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087Reputation: 2087
Quote:
Originally Posted by jennyj View Post
-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
 
Old 10-27-2014, 11:54 AM   #45
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
Talking

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Setup Problem or Godaddy Problem videoman Linux - Networking 1 02-05-2009 04:38 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
DNS Problem csdhiman Linux - Server 6 07-18-2007 07:37 AM
DNS problem hinetvenkat Linux - Networking 9 04-20-2005 01:55 AM
DNS problem hinetvenkat Linux User Groups (LUG) 1 04-18-2005 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration