Thanks for the advice NiLuJe.
Maybe you can explain something about the dhcpd setup for usb0? When I use "ifconfg wlan0 down", and check /etc/resolv.conf, I get the following:
Code:
[admin@io root]# cat /etc/resolv.conf
# Generated by dhcpcd
# /etc/resolv.conf.head can replace this line
# /etc/resolv.conf.tail can replace this line
With wlan0 down, I am unable to ping 8.8.8.8
This differs from the result when I have wlan0 and usb0 up.
Code:
[admin@io root]# cat /etc/resolv.conf
# Generated by dhcpcd from wlan0
# /etc/resolv.conf.head can replace this line
domain home
nameserver 192.168.2.1
# /etc/resolv.conf.tail can replace this line
With both interfaces up, I can ping 8.8.8.8
Am I correct that the dhcp setting for usb0 isn't correct and it's the reason I cannot reach 8.8.8.8?
If so, what's the best way to set the dhcp settings for usb0? One idea I saw was to add "nohook resolv.conf" to /etc/dhcpd.conf to prevent /etc/resolv.conf from being overwritten.