You are not logged in.
I set a static in my rc.conf
My static looks as such. Any ideas. I have to run dhcpcd for it to actually think I have a network. so technically my machine has 2 ip's.
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="mchost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
#Static IP example
eth0="eth0 192.168.50.5 netmask 255.255.255.0 broadcast 192.168.50.255"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)Last edited by loki1989 (2011-05-20 18:59:57)
Offline
Post the output of the following commands, BEFORE you run dhcpcd:
ifconfig
netstat -rn
cat /etc/resolv.confEDIT: Posted iproute2 commands by accident.
Last edited by fukawi2 (2011-05-20 04:41:55)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I'm not much of a network expert but are you sure your gateway's ip address is 192.168.0.1 and not something like 192.168.50.XXX?
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I'm not much of a network expert but are you sure your gateway's ip address is 192.168.0.1 and not something like 192.168.50.XXX?
Well spotted, that will be the problem.
Also, started this wiki page to detail this kind of debugging:
https://wiki.archlinux.org/index.php/Network_Debugging
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
I'm not much of a network expert but are you sure your gateway's ip address is 192.168.0.1 and not something like 192.168.50.XXX?
Fixed that. Rebooting to see if it holds. Also fukawi. I tried the commands you gave me. I also tried the beginners guide for the networking portion. Usually I am a NetworkManager guy but this is console only.
Offline
Thanks a ton guys. R00kie I got the gateway fixed. fukawi thank you. I had to edit my nameservers. I followed the instructions and I know I put some in but they may be in a generated file that is broken.
Offline