You are not logged in.
Pages: 1
Hey,
I'm new to Arch Linux, and I just set it up with the help of a friend of mine. Everything seems to be okay, except that I can't set up my internet properly. I'm behind a router, and I have any info needed to solve the problem (as far as I can tell). Inside rc.conf, I've changed eth0 to "dhcp". That's pretty much everything that I've changed, but whenever I try to ping a site like google it says "unknown host".
Any help would be appreciated.
-Arcturus
Offline
after you set dhcp in rc.conf did you restart networking?
Offline
Can you post your /etc/rc.conf file for us?
Offline
If you have right modules for your ethernet card loaded and use something like
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
in '/etc/rc.conf' assuming you have DHCP capable device it should assign you IP upon doing '/etc/rc.d/network restart' as root.
Simply do 'ifconfig' to see status of your ethernet devices. If you see output like
eth0 Link encap:Ethernet HWaddr 00:18:F3:73:80:17
inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::218:f3ff:fe73:8017/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1590295 errors:0 dropped:0 overruns:0 frame:0
TX packets:1413675 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1651549549 (1575.0 Mb) TX bytes:680234876 (648.7 Mb)
Interrupt:16
this, you hw is somewhat recognised. Else you have to get proper drivers.
Have you tried to ping the router itself?
Offline
Yes, I've restarted, here is my rc.conf file:
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Canada/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MOD_BLACKLIST=()
MODULES=(e1000 iwl3945 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-p$ snd-pcm snd-timer snd snd-hda-intel soundcore)
USEVLM="no"
HOSTNAME="arcturus"
lo=lo 127.0.0.1
eth0=dhcp
INTERFACES=(lo eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
DAEMONS=(syslog-ng network netfs crond)
If you guys need my ipconfig, I can post that too.
Thanks,
-Arcturus
Last edited by Arcturus (2007-12-25 16:08:50)
Offline
You're on a wired connection right?
Try pinging yourself, and then your router. (Usually 192.168.1.1 for most household routers) If both of those pings work, you know the problem is between the router and your isp.
What kind of internet service do you have? If you have DSL, you may have forgotten to set it up properly? (I believe there are extra steps to a dsl connection, correct me if I'm wrong please.)
Offline
I get "Network is unreachable" when I ping my router. I'm on a wireless connection.
-Arcturus
Offline
Post your 'ifconfig -a' output. Btw does this make difference?
lo=lo 127.0.0.1
eth0=dhcp
vs.
lo="lo 127.0.0.1"
eth0="dhcp"
Last edited by dante4d (2007-12-25 18:00:35)
Offline
I get "Network is unreachable" when I ping my router. I'm on a wireless connection.
-Arcturus
wireless!
The new Arch setup for wireless is netcfg2, please configure your wireless network with that:
http://bbs.archlinux.org/viewtopic.php?id=39505
Last edited by iphitus (2007-12-25 20:18:57)
Offline
Oh and btw arc, its r4ndom here incase you didn't know. The problem you were getting when installing packages is because you NEED to capitalise the S as in:
pacman -Sy xorg
as opposed to
pacman -sy xorg
Offline
Arcturus wrote:I get "Network is unreachable" when I ping my router. I'm on a wireless connection.
-Arcturus
wireless!
The new Arch setup for wireless is netcfg2, please configure your wireless network with that:
http://bbs.archlinux.org/viewtopic.php?id=39505
anyway I would use wired connection first to set up everything and tailor my wifi... But he's probably got that working...
Offline
Okay, I've set up a wireless profile using netcfg2, and it appears that I am connected to my network. However, I am still experiencing no connectivity. Here is some relevant information:
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:16:36:DC:97:3E
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:36ff:fedc:973e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:141916 errors:0 dropped:0 overruns:0 frame:0
TX packets:89607 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:186128325 (177.5 Mb) TX bytes:8106710 (7.7 Mb)
Base address:0x3000 Memory:8c000000-8c020000lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:198 errors:0 dropped:0 overruns:0 frame:0
TX packets:198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16687 (16.2 Kb) TX bytes:16687 (16.2 Kb)wlan0 Link encap:Ethernet HWaddr 00:19:D2:22:60:BC
inet addr:192.168.0.104 Bcast:192.168.0.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1614 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:438138 (427.8 Kb) TX bytes:2566 (2.5 Kb)wmaster0 Link encap:UNSPEC HWaddr 00-19-D2-22-60-BC-00-00-00-00-00-00-00-00-00-00
BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
iwconfig before attempting to connect
lo no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"Haniotis"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0D:88:87:23:C5
Bit Rate=11 Mb/s
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:1A2B-3C4D-5E6F-7A8B-9C0D-1234-56
Link Quality=76/100 Signal level=-42 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0eth0 no wireless extensions.
My network profile
CONNECTION="wireless"
DESCRIPTION="haniotis=>home"
INTERFACE="wlan0"
SCAN="yes"
SECURITY="wep"
ESSID="Haniotis"
KEY="<censored>"
IP="dhcp"
lsmod output:
Module Size Used by
ntfs 204512 0
usb_storage 92096 0
ide_core 139920 1 usb_storage
ipv6 296968 12
ext2 63760 1
joydev 10624 0
pcmcia 37920 0
ohci1394 31412 0
ieee1394 91864 1 ohci1394
yenta_socket 25868 1
rsrc_nonstatic 11264 1 yenta_socket
pcmcia_core 37796 3 pcmcia,yenta_socket,rsrc_nonstatic
firewire_ohci 17920 0
firewire_core 42048 1 firewire_ohci
sdhci 17676 0
crc_itu_t 2688 1 firewire_core
mmc_core 29832 1 sdhci
tifm_7xx1 7168 0
tifm_core 9608 1 tifm_7xx1
rtc_cmos 8888 0
rtc_core 18188 1 rtc_cmos
rtc_lib 3456 1 rtc_core
tsdev 8192 0
serio_raw 6788 0
psmouse 42268 0
i2c_i801 9372 0
i2c_core 23296 1 i2c_i801
video 19348 0
output 4096 1 video
container 4864 0
sg 31784 0
intel_agp 26784 0
evdev 10112 0
snd_seq_oss 32896 0
snd_seq_midi_event 7936 1 snd_seq_oss
snd_seq 55680 4 snd_seq_oss,snd_seq_midi_event
snd_seq_device 7956 2 snd_seq_oss,snd_seq
thermal 15648 0
processor 32408 1 thermal
fan 5128 0
button 7968 0
battery 11920 0
ac 5384 0
snd_hda_intel 381992 0
snd_hwdep 8968 1 snd_hda_intel
snd_pcm_oss 42144 0
snd_pcm 82184 2 snd_hda_intel,snd_pcm_oss
snd_timer 22792 2 snd_seq,snd_pcm
snd_page_alloc 9104 2 snd_hda_intel,snd_pcm
snd_mixer_oss 17024 1 snd_pcm_oss
snd 57928 9 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 7968 1 snd
arc4 2560 2
ecb 3712 2
e1000 129472 0
iwl3945 178164 0
mac80211 136964 1 iwl3945
cfg80211 7312 1 mac80211
ext3 132368 2
jbd 64880 1 ext3
mbcache 8704 2 ext2,ext3
sr_mod 16548 0
cdrom 37800 1 sr_mod
sd_mod 25088 5
ehci_hcd 36364 0
uhci_hcd 25632 0
usbcore 144432 4 usb_storage,ehci_hcd,uhci_hcd
ata_piix 17156 4
ata_generic 6788 0
libata 116912 2 ata_piix,ata_generic
Thanks in advance for any help you can offer.
-Arcturus
Offline
Pages: 1