You are not logged in.

#1 2008-04-23 16:20:41

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

[SOLVED] FTP installation in a wifi environment?

Hello,

How do I install arch ftp in a wireless network environment?

Last edited by Don-DiZzLe (2008-05-01 18:24:26)

Offline

#2 2008-04-23 17:28:45

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] FTP installation in a wifi environment?

Have a look at this page from the wiki
http://wiki.archlinux.org/index.php/FTP … less_cards

Offline

#3 2008-04-23 18:45:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,838

Re: [SOLVED] FTP installation in a wifi environment?

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. smile You will probably have to switch to a console during the install process to configure your wlan connection, but after that it's straightforward.

Offline

#4 2008-04-24 15:44:25

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: [SOLVED] FTP installation in a wifi environment?

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?

Offline

#5 2008-04-24 17:40:50

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: [SOLVED] FTP installation in a wifi environment?

You're most likely missing the proper routing information and / or dns server adresses. If your router supports dhcp you could simply use

dhcpd wlan0

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.

Offline

#6 2008-04-24 18:21:21

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: [SOLVED] FTP installation in a wifi environment?

Major crapola!

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.

Offline

#7 2008-04-25 15:36:04

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: [SOLVED] FTP installation in a wifi environment?

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.

Offline

#8 2008-04-27 13:49:34

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: [SOLVED] FTP installation in a wifi environment?

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)

Offline

#9 2008-04-27 14:31:23

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] FTP installation in a wifi environment?

Don-DiZzLe wrote:

dhcpcd wlano -t 60 still has no effect.

Are you typing
wlan 'oh'

or

wlan 'zero'
?

Offline

#10 2008-04-27 16:39:44

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: [SOLVED] FTP installation in a wifi environment?

sorry my bad what i meant is 0 of course.

Offline

#11 2008-04-27 17:42:43

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] FTP installation in a wifi environment?

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.

Offline

#12 2008-05-01 17:52:19

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: [SOLVED] FTP installation in a wifi environment?

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.

Offline

#13 2008-05-01 18:15:25

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: [SOLVED] FTP installation in a wifi environment?

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?

Offline

Board footer

Powered by FluxBB