You are not logged in.
Hi, everyone.
For some reason, during install, my internet worked perfectly using DHCP. However, I couldn't get DHCP to work for some reason, so I tried static. Now I can ping my gateway(router), but no internet. I'll post the things I find relevant, although I may be WAY off. I'd really appreciate your help
Output of ip addr
enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:23:7e:04:31:9a brd ff:ff:ff:ff:ff:ff
inet 192.168.0.45/24 scope global enp0s25
inet 192.168.0.27/24 scope global secondary enp0s25
output of ip route:
default via 192.168.0.1 dev enp0s25
192.168.0.0/24 dev enp0s25 proto kernel scope link src 192.168.0.45
/etc/resolv.conf:
#
# /etc/resolv.conf
#
nameserver 4.2.2.2
nameserver 8.8.4.4
#End of file
Thanks for the help guys. Much appreciated.
Last edited by AbsoZed (2013-02-22 14:31:54)
Offline
Can you Ping a IP directly?
Offline
So if you can get dhcp to work, then you would use it? I am just thinking that you are only using a statis IP as an attempted workaround to your issue. If this is the case, it would likely be easier getting dhcpcd or netcfg or wicd or something working with dhcpcd or dhclient.
Last edited by WonderWoofy (2013-02-22 06:49:55)
Offline
No, I can't ping an IP. Pinging any external IP results in timeouts.
No, I couldn't get DHCP working, and this is a workaround. I tried enabling the systemctl dhcpd, and that resulted in 'no such file or directory'.
Offline
The service is called dhcpcd@$INTF. replace $INTF with enp0s25:
systemctl enable dhcpcd@enp0s25
systemctl start dhcpcd@enp0s25
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
The service is called dhcpcd@$INTF. replace $INTF with enp0s25:
systemctl enable dhcpcd@enp0s25 systemctl start dhcpcd@enp0s25
Good lord, I'm dumb. Thank you so much! Helpful community indeed. Much appreciated, sir!
Offline