LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   No networking after upgrade to 14.1 (http://www.linuxquestions.org/questions/slackware-14/no-networking-after-upgrade-to-14-1-a-4175484128/)

mattca 11-10-2013 03:16 PM

No networking after upgrade to 14.1
 
Hey guys, the update seems to mostly gone well, except my networking is no longer working at all. At first I thought I just had to reinstall my wireless drivers, but wired isn't working either. It reports a connection and receives an ip address from my router, but nothing is working.

Any ideas? :(

Bertman123 11-10-2013 03:28 PM

What kind of wireless card do you have? Do you have a firewall script installed?

ReaperX7 11-10-2013 03:28 PM

Run netconfig and try resetting the network configuration.

mattca 11-10-2013 03:53 PM

Quote:

Originally Posted by Bertman123 (Post 5062041)
What kind of wireless card do you have? Do you have a firewall script installed?

No firewall, and I'm trying to get wired working before looking at the wireless.

---------- Post added 11-10-13 at 15:54 ----------

Quote:

Originally Posted by ReaperX7 (Post 5062042)
Run netconfig and try resetting the network configuration.

Thanks for the suggestion, it unfortunately did not help :(

Didier Spaier 11-10-2013 04:01 PM

Quote:

Originally Posted by mattca (Post 5062032)
[...] but wired isn't working either. It reports a connection and receives an ip address from my router, but nothing is working.

What do you mean by "nothing"? Could you provide output of "route"? does the "ping" command with an external IP address as argument work? And with a domain name? What if you simply type "dhcpcd eth0"?

Also, please provide output of "ifconfig"

BCarey 11-10-2013 06:30 PM

Is it possible that your card is at eth1 instead of eth0? When I booted after a fresh install I had no internet either, so I needed to modify inet1.conf for this reason.

Brian

allend 11-10-2013 07:03 PM

Something funny with /etc/udev/rules.d/70-persistent-net.rules?

Mobile1 11-10-2013 07:14 PM

Hey,

I had a problem with my Wired Network connection, I changed DHCP[0]="no" in rc.inetd.conf and that solved my problem with Network Manager in KDE.

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="no"
DHCP_HOSTNAME[0]=""

Hope that helps.

Bertman123 11-10-2013 07:24 PM

try iwconfig and see what connections are listed.

mattca 11-12-2013 06:39 PM

Quote:

Originally Posted by Didier Spaier (Post 5062066)
What do you mean by "nothing"? Could you provide output of "route"? does the "ping" command with an external IP address as argument work? And with a domain name? What if you simply type "dhcpcd eth0"?

Also, please provide output of "ifconfig"

Thanks for the response. Here's the output requested:

route
Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
default        192.168.0.1    0.0.0.0        UG    202    0        0 eth0
loopback        *              255.0.0.0      U    0      0        0 lo
192.168.0.0    *              255.255.255.0  U    202    0        0 eth0
192.168.0.106  localhost      255.255.255.255 UGH  202    0        0 lo

ifconfig
Code:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.106  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::226:22ff:fed9:49d8  prefixlen 64  scopeid 0x20<link>
        ether 00:26:22:d9:49:d8  txqueuelen 1000  (Ethernet)
        RX packets 133  bytes 11990 (11.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25  bytes 2297 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 17 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 8  bytes 560 (560.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 560 (560.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Pinging an ip address and domain name both produce the same result - 100% packet loss. Oddly enough, when pinging a domain name there is a pause at first, then it shows that it is pinging the associated ip address. I don't know a lot about networking, but it seems odd that it would be able to find the ip address without a connection.

Typing "dhcpcd eth0" produces a message that tells me dhcpcd is already running.

I'm hoping I've done something stupid here, and that it's a simple fix.

Didier Spaier 11-12-2013 07:05 PM

I'm not that good in networking, but here I have 192.168.0.254, not 192.168.0.1, as gateway.

You could try this:
  1. Run netconfig, choose 'loopback' and confirm. This will reset any specific configuration
  2. Run netconfig again, but this time choose 'NetworkManager'
  3. type: /etc/rc.d/rc.networkmanager restart

Bertman123 11-12-2013 08:13 PM

What kind of ethernet card do you have? Can you post the output of lspci?

On 14 did everything work out of the box? Or did you have to install any proprietary drivers?

What kind of wireless card do you have (just curious)? It's odd that things would just stop working.

mattca 11-12-2013 09:38 PM

Quote:

Originally Posted by Bertman123 (Post 5063429)
What kind of ethernet card do you have? Can you post the output of lspci?

On 14 did everything work out of the box? Or did you have to install any proprietary drivers?

What kind of wireless card do you have (just curious)? It's odd that things would just stop working.

Wired internet has always worked out of the box on this machine - on 13.0, 13.37 and 14.0. Wireless never does, but I don't expect it to.

lspci
Code:

00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
07:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)

As an update, I did a fresh install and am having the same issue. I was hoping that I missed something when I was updating, but it appears to do this out of the box. I'm also trying KDE for the first time (I usually use ratpoison), hoping that the automated tools would make it easier. But, network manager doesn't report any connections or devices. Under the "wired" tab, all options are greyed out.

Any ideas anyone? :(:(:(

perbh 11-12-2013 09:57 PM

/etc/resolv.conf ??
I have seen funny results if this is empty (though it _should_ be populated by networkmanager)
At least make sure that the following are present:
Quote:

nameserver 192.168.0.1
nameserver 8.8.8.8
From ifconfig (above), you obviously have an ip-address, so it must be the name resolution that's not working.
Have you tried to ping a numeric ip-address? (eg. ping 8.8.8.8)

mattca 11-12-2013 10:18 PM

/etc/resolv.conf was populated by NetworkManager, at least with 192.168.0.1. I added 8.8.8.8, but it disappeared after restarting. It didn't seem to help, in any case.

I thought name resolution might be the issue, but I can't ping by ip address either. I can ping my router (192.168.0.1) as expected, but pinging 8.8.8.8 just hangs.

Also if it was just the name resolution, I would expect network manager to recognize that I have networking interfaces...

I'm really confused, my wired connection always *just works* :(


All times are GMT -5. The time now is 12:57 AM.