PDA

View Full Version : [ubuntu] Desktop networking



Fozz
February 9th, 2013, 08:19 PM
OK so changed over from At&t DSL to Comcast cable. Since changing my desktop connects very intermittently, it frequently throws a "cannot find server" the wireless works fine and there is no problem reaching any site from any other system and if I plug a different system or laptop in to the Cable modem it works fine I also notice if I find a website with a laptop (either Ubuntu or windows) my Ubuntu desktop will then seem to find it
Not sure what info you need to troubleshoot this I'm not a programmer but follow instructions well :) (12.04) on a stock HP Pavilion a 1340n

Fozz
February 15th, 2013, 11:08 PM
Anyone willing to offer anything? would really like this unit to connect reliably :|

Fozz

praseodym
February 16th, 2013, 12:19 AM
Please show the terminal outputs of the commands:


cat /etc/network/interfaces
cat /etc/resolv.conf
route -n
ifconfig -a
lsmod
lspci -nnk | grep -iA2 net
You are using a router (now)?

Fozz
February 16th, 2013, 12:44 AM
Praseodym Thank you for the response! After I bumped this to the top I tried a suggestion from a different post, I think it was an auto updating resolver I'll find that code and post it here I am currently doing this through the Desktop and the Xfinity modem/router. Its been very intermittent

here are the results from your commands



cat /etc/network/interfaces:
auto lo
iface lo inet loopback

cat /etc/resolv.conf
# 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
search hsd1.ca.comcast.net

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:17:31:f7:ed:26
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::217:31ff:fef7:ed26/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:553646 errors:0 dropped:0 overruns:0 frame:0
TX packets:312954 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99004992 (99.0 MB) TX bytes:24261626 (24.2 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:307 errors:0 dropped:0 overruns:0 frame:0
TX packets:307 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27296 (27.2 KB) TX bytes:27296 (27.2 KB)

lsmod
Module Size Used by
nls_utf8 12493 2
udf 84576 2
snd_hda_codec_realtek 174313 1
snd_hda_intel 32765 5
dm_multipath 22747 0
snd_hda_codec 109562 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13276 1 snd_hda_codec
snd_pcm 80916 3 snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
psmouse 86520 0
serio_raw 13027 0
snd_rawmidi 25424 1 snd_seq_midi
rfcomm 38139 0
snd_seq_midi_event 14475 1 snd_seq_midi
bnep 17830 2
i915 423451 3
snd_seq 51592 2 snd_seq_midi,snd_seq_midi_event
joydev 17393 0
ppdev 12849 0
bluetooth 158479 10 rfcomm,bnep
parport_pc 32114 1
binfmt_misc 17292 1
snd_timer 28931 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
drm_kms_helper 45466 1 i915
mac_hid 13077 0
snd 62218 18 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,sn d_seq_device
drm 197641 4 i915,drm_kms_helper
soundcore 14635 1 snd
i2c_algo_bit 13199 1 i915
snd_page_alloc 14108 2 snd_hda_intel,snd_pcm
video 19115 1 i915
lp 17455 0
parport 40930 3 ppdev,parport_pc,lp
usb_storage 39646 0
usbhid 41937 0
hid 77428 1 usbhid
firewire_ohci 40172 0
e100 36289 0
firewire_core 56940 1 firewire_ohci
crc_itu_t 12627 2 udf,firewire_core
dm_raid45 76451 0
xor 25987 1 dm_raid45
dm_mirror 21822 0
dm_region_hash 16100 1 dm_mirror
dm_log 18193 3 dm_raid45,dm_mirror,dm_region_hash

lspci -nnk | grep -iA2 net
01:08.0 Ethernet controller [0200]: Intel Corporation N10/ICH 7 Family LAN Controller [8086:27dc] (rev 01)
Subsystem: Hewlett-Packard Company Pavilion A1512X [103c:2a3b]
Kernel driver in use: e100

Fozz
February 16th, 2013, 12:53 AM
I tried this

sudo dpkg-reconfigure resolvconf

but when it came up in terminal it would not let me move beyond the

<OK>

I left it alone for 10 min with no change so I killed the terminal window and rebooted the system completely and here I am this system has typically need another computer on the wireless to connect and sometime that seems to "jump start it but I know something isn't set up correctly ....perhaps now it may work.

jdthood
February 16th, 2013, 10:21 AM
I also notice if I find a website with a laptop (either Ubuntu or windows) my Ubuntu desktop will then seem to find it

This suggests to me that the NetworkManager-controlled dnsmasq is the problem . Disable it as follows.

* Open a Terminal window
* At the command line run "sudo gedit /etc/NetworkManager/NetworkManager.conf"
* Use Gedit to change the line
dns=dnsmasq to
#dns=dnsmasq and save the file.
* At the command line run the command
sudo restart network-manager to restart NetworkManager.



https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1003842