How do I install arch ftp in a wireless network environment?
Last edited by Don-DiZzLe (2008-05-01 18:24:26)
Have a look at this page from the wiki
http://wiki.archlinux.org/index.php/FTP … less_cards
That page could be helpful, but a lot of details are out of date - it was written in 2005, and the last edit was a year ago.
Our install iso includes everything you need to get online - unless you happen to have very exotic wifi gear. You will probably have to switch to a console during the install process to configure your wlan connection, but after that it's straightforward.
Well what I tried after booting in the ftp RC iso is this:
ifconfig wlan0 up iwlist wlan0 scan
My network was found and I entered it in iwconfig
iwconfig wlan0 essid mynetwork key s:mykey
after that I entered an IP adress within the range of my router
ifconfig wlan0 192.168.1.9
But pinging a random site still doesn't work... so what am I doing wrong?
You're most likely missing the proper routing information and / or dns server adresses. If your router supports dhcp you could simply use
which should solve all your problems.
If you can't use dhcp you will have to setup the routing information yourself. It's some time since I did this so the stuff below might be off so check the manpage of "route" and anyone else correct me please.
route add default gw 192.168.1.1
This assumes that 192.168.1.1 is the ip of your router. You will also have to populate the /etc/resolv.conf file with either the ip address of you isp's dns server or the address of your router if it can provide dns information.
There is no dhcpd on the latest RC, only dhcpcd. I did:
dhcpcd wlan0 err, wlan0: timed out warn, wlan0: using IP4LL address 169.254.202.128
I also added nameserver 192.168.1.1 to /etc/resolv.net and did that route command
No effect, still can't ping anything.
The thing with dhcpcd is my fault, I never manage to spell that thing correctly ... thanks tab-completion :-)
Now the timeout thing can have many reasons. It could be that you aren't associated with the access point, your card is taking longer than the defined timeout or some other strange combination.
First it be good to know if you manage to associate successfully with you access point iwconfig wlan0 should show you the link quality. Then if you got associated with the access point try again using dhcpcd eventaully with a longer timeout, i.e. dhcpcd wlano -t 60 for a 60 second timeout.
What kind of wireless card are you using? Perhaps the card is known to have some quirks which could help you to get your connection.
I managed to connect to my ap and enter the right essid and key:
iwconfig lo no wireless extensions. eth0 no wireless extensions. wmaster0 no wireless extensions. wlan0 IEEE 802.11g ESSID:"tip" Mode:Managed Frequency:2.462 GHz Access Point: 00:1B:FC:BE:28:E9 Bit Rate=1 Mb/s Tx-Power=27 dBm Retry min limit:7 RTS thr:off Fragment thr=2352 B Link Quality=60/100 Signal level=-68 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
however dhcpcd wlano -t 60 still has no effect.
The wifi nic is a sitecom card with a rt61 module -> Network controller: RaLink module: rt61pci PHYSDEVrt61pci RT2561/RT61 802.11g PCI
Maybe I should get me a new wifi nic, any recommendations for an excellent wifi nic that works great with Linux?
Last edited by Don-DiZzLe (2008-04-27 13:54:35)
dhcpcd wlano -t 60 still has no effect.
Are you typing
sorry my bad what i meant is 0 of course.
Have you tried removing the encryption?
I hope you get this resolved. I did a core install, then used this wiki page: http://wiki.archlinux.org/index.php/Ins … _Interface, but I'd like to use the ftp method next time.
Well I gave up on the latest 04/2008 RC.
I grabbed the 2008.03-0.3 core iso and after booting up (thank the gods that netcfg was already preinstalled), I copied my netcfg profile to
/etc/networks.d/ and did a sudo netcfg2 <profilename>.
After that my network was setup and chose to do a ftp install.
FTP installation went flawlessly and so here I am.
Thanks for posting your solution. I'll be sure to use it next time I have to install. Would you mark this thread as solved?