You are not logged in.
Hey i need you guys help, what the right configuration to rc,resolv and hosts at Arch Linux install? My network is wifi, and the signal is delivered to the router by cable modem, so its DHCP...
I am using this:
To rc.conf
interface=wlan0
address=
netmask=
gateway=
The hosts is set like this:
127.0.0.1 localhost.localdomain localhost Ramon
::1 localhost.localdomain localhost
And the resolv don't have any nameserver...
Any help?
Last edited by Arcken (2011-07-15 18:28:15)
Offline
I'm pretty sure that second line is the IPv6 version of the first line. Assuming you aren't using IPv6 I would think this wouldn't matter, but I also added my hostname on that line when doing my install a couple of days ago.
I have no idea if this would cause your problem at all. Did you do the earlier steps in the procedure regarding checking that your card was recognized? ( iwconfig ) as noted here:
https://wiki.archlinux.org/index.php/Be … nvironment
I had trouble at first (later realized this was due to the kernel version on the current snapshot -- updated with wired connection and all was fine) and jumped from the beginner guide to the actual wireless page to try getting it sorted, which has a lot of the same instructions, but with more detail.
Offline
I'm pretty sure that second line is the IPv6 version of the first line. Assuming you aren't using IPv6 I would think this wouldn't matter, but I also added my hostname on that line when doing my install a couple of days ago.
I have no idea if this would cause your problem at all. Did you do the earlier steps in the procedure regarding checking that your card was recognized? ( iwconfig ) as noted here:
https://wiki.archlinux.org/index.php/Be … nvironment
I had trouble at first (later realized this was due to the kernel version on the current snapshot -- updated with wired connection and all was fine) and jumped from the beginner guide to the actual wireless page to try getting it sorted, which has a lot of the same instructions, but with more detail.
I don't have any problem, just need to know the right configs for the rc, resolv and hosts for my wifi network...
Offline
After getting network manager set up, I have the rc.conf entries for adapter, address, netmask, etc commented out. Prior to that they looked like yours.
Is the hostname you have in the hosts file identical to what you have in rc.conf about 20 lines above the section you quoted in your original post?
If yes, and you are getting the correct output from iwconfig, did you follow the instructions to associate your card with your router + setup WPA Supplicant or whatever is required for your encryption method (as noted in the wireless section of the beginner's guide linked above?) And did you then do "dhcpcd wlan0"?
resolv.conf won't get overwritten until dhcpcd wlan0 is executed successfully.
If you are doing all these things and getting the correct output from each of them then I am out of ideas.
Offline
The stuff in rc.conf is mainly meant for wired connections. You might want to look into netcfg (which you can call through rc.conf) to configure your wireless.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
s/mainly/only/
The new syntax is very simplistic and only supports one wired network device[1]
(my emphasis)
Offline
I would have said that as well, were it not for rc.conf's comments not making clear you can only use it for wired connections .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline