You are not logged in.
Hi
I was looking for a solution for very long for this: I installed arch latest version on my new computer. I compiled the intel e1000 module. I ran the netowrk service of arch.
Here are the result from various commands:
[b]ifconfig[/b]
eth0 Link encap:Ethernet HWaddr 00:19:D1:B0:A0:0A
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x30e0 Memory:50280000-502a0000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[b]route[/b]
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth 0
[b] after very long delay: [/b]
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
[b]route -n[/b]
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
The setup is a billion bipac ethernet router configured as PPPoe which has an adress 192.168.1.254. I can successfully ping the device. But I cannot ping any outside IPs like 202.67.222.222 or website like www.google.com since it gives me timeouts. Also running route takes very long delay (see above).
Last edited by frank_einstien (2007-11-25 04:07:52)
Serial ignoramus- a day of experience 365 times.
Offline
Are you using dhcp?
Offline
This configuration is with static IP. Even using DCHP doesnt help. The above commands report the same thing.
Static and DHCP work equally fine on winXP on this computer
Serial ignoramus- a day of experience 365 times.
Offline
Is your /etc/hosts file set up and match with the host name given in /etc/rc.conf?
Offline
I think it is. Please check the below, its my rc.conf and /etc/hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost jj
192.168.1.100 jj
# End of file
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Asia/Calcutta"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
# - prefix a module with a ! to blacklist it
#
MODULES=(e1000 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="jj"
#
# 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
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255"
#eth0="dhcp"
INTERFACES=(lo 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.1.254"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)
#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng @network !netfs !crond)
# End of file
Serial ignoramus- a day of experience 365 times.
Offline
This configuration is with static IP. Even using DCHP doesnt help. The above commands report the same thing.
Static and DHCP work equally fine on winXP on this computer
When using a Static IP, you must define your gateway in the /etc/rc.conf file. If the address of the router is 192.168.0.254, Define your gateway such as this:
gateway="default gw 192.168.0.254"
ROUTES=(gateway)
Notice the ! is missing in ROUTES=(gateway)
When using a Static IP you also need to define your DNS server in the /etc/resolv.conf file. If your router's IP is 192.168.0.254 set it up such as this:
#
# /etc/resolv.conf
#
#search <yourdomain.tld>
nameserver 192.168.0.254
# End of file
If you know the URL of your ISP's DNS server, you can also list it as such:
search hsd1.co.comcast.net
in my case. Check these two items, and see if you have any luck.
To see if you have a gateway problem, or a DNS problem, type 72.14.253.104 into the address bar of your favorite browser. It should take you to www.google.com as this is the IP address of google. If that doesn't work, you probably have a gateway problem. If it does work, type www.google.com into the address bar of your browser. If that doesn't work, you have a DNS problem.
Hope that helps.
Pudge
Edit: Some of the info I gave above is redundant as I originally typed the above while you were entering your last post. I hadn't seen post #5 until after entering this post. Try this for your /etc/hosts file
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost jj
192.168.1.100 jj.localdomain jj
# End of file
Last edited by Pudge (2007-11-25 08:50:38)
Offline
Now i can ping the IP address of google pudge gave me bu i cannot ping the target www.google.com. So i guess I need the DNS functions to be working.
# Generated by dhcpcd for interface eth0
search
nameserver 192.168.1.254
This is my resolv.conf . My DHCP servers ARE given in the router. So shouldnt that be enough?
Serial ignoramus- a day of experience 365 times.
Offline
no, copy the DNS servers out of your router and put them into resolv.conf and it should work.
I had to always manually add my DNS servers even on windows OS's for my internet to work with a static IP address.
the DNS servers IP addy is normally in the router information section. all u need do is copy and paste that into resolv.conf. Reboot and everything should work.
Last edited by jacko (2007-11-25 14:22:58)
Offline
No luck with entries in resolv.conf. Pinging www.google.com makes the terminal freeze and when I killed it it gave me no message.
Serial ignoramus- a day of experience 365 times.
Offline