You are not logged in.

#1 2013-08-19 21:15:21

musasabi
Member
From: Chicago, IL
Registered: 2011-06-23
Posts: 63

Simple wired/wireless coexistence and wired issues

I haven't installed Arch fresh since the systemd changeover, so I feel like I'm a little behind the curve here.

I've got a laptop with a new install (two days ago) that I need to get online wirelessly and SSH into a device that's directly connected via ethernet (no switch). This is my hotel development setup, so I'm limited in options.

First, I was just using wifi-menu and the ip commands to configure everything. I was able to get online with the hotel's wifi. When I went to ping the device I need to SSH into, I couldn't. Having followed the wiki, I've tried using ip to add an address and gateway to the NIC (though the latter shouldn't matter, if I'm just directly connected), tried adding a systemd unit file and the corresponding /etc/conf.d/network@ file, and tried ifplugd.

All of the above resulted in me being able to get online, but unable to ping the wired device. Finally, I realized I hadn't even enabled NetworkManager, so I did that. Currently, the behavior is that wifi works fine, but if I plug in the cable, I lose my connection to the internet and still can't ping the device. I know NetworkManager prefers wired over wireless, but I didn't expect it to prefer it so hard it wouldn't even look to the wireless.

On wifi...

[patrick@laptop ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 90:e6:ba:6e:d4:90 brd ff:ff:ff:ff:ff:ff
    inet 10.1.1.101/24 brd 10.1.1.255 scope global enp5s0
       valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1e:64:49:3e:b4 brd ff:ff:ff:ff:ff:ff
    inet 192.168.6.235/24 brd 192.168.6.255 scope global wlp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::21e:64ff:fe49:3eb4/64 scope link 
       valid_lft forever preferred_lft forever

Then I plug the cable in...

[patrick@laptop ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 90:e6:ba:6e:d4:90 brd ff:ff:ff:ff:ff:ff
    inet 10.1.1.101/24 brd 10.1.1.255 scope global enp5s0
       valid_lft forever preferred_lft forever
    inet6 fe80::92e6:baff:fe6e:d490/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:1e:64:49:3e:b4 brd ff:ff:ff:ff:ff:ff
    inet 192.168.6.235/24 brd 192.168.6.255 scope global wlp2s0
       valid_lft forever preferred_lft forever
    inet6 fe80::21e:64ff:fe49:3eb4/64 scope link 
       valid_lft forever preferred_lft forever

For reference, the wired device's IP address is 10.1.1.58, and at work this laptop (while on Windows) uses the IP 10.1.1.101.

So, why can't I ping the device? And, how can I coerce NetworkManager to permit the coexistence of wireless and wired? I'll take the former over the latter by a mile, but solving both would be pretty neat.

Thanks in advance. smile

Offline

Board footer

Powered by FluxBB