You are not logged in.

#1 2011-06-10 22:52:20

Garf
Member
From: Sydney, Australia
Registered: 2009-03-23
Posts: 23

[SOLVED] Can't connect to wireless

Hi, I know this is problem a common thread, and posting here is my last resort. I've been trying to get this up and running all morning.

I have done the following.

set rc.conf to include the following

wlan0="wlan0 192.168.1.200 netmask 255.255.255.0 broadcast 192.168.1.255"

INTERFACES=(eth0 wlan0)

NETWORKS=(home) 

DAEMONS=( ... net-profiles)

Where home is a profile I have set up in /etc/network.d/home

So when I do

netcfg home

it says it's connected fine, but when I try to ping 192.168.1.254 (the router) I just keep getting destination unreachable.

Also, when I do

ifconfig -a

The wlan0 does not show an ip address, could this be the problem?

Edit: I have worked out my problem with my profile. All is working now.

Last edited by Garf (2011-06-14 02:41:04)

Offline

#2 2011-06-11 18:25:35

kofrad
Member
From: South Florida, USA
Registered: 2011-05-15
Posts: 45

Re: [SOLVED] Can't connect to wireless

Personally I've always had some sort of issue with wireless, I think partially due to my wireless card (rt61pci). Since I started using arch a month or two ago, I couldn't get any wireless configuration to work except network-manager. I highly suggest you check out the guide at the arch wiki ( https://wiki.archlinux.org/index.php/NetworkManager ). I think the best feature of network-manager is the system tray applet that is provided as well as the GUI to enter your wireless settings.

To make a simple note of how I setup network manager:
/etc/rc.conf - blacklist your wireless card here so network manager can take over, and start network manager on boot

INTERFACES=(lo !wlan0)
DAEMONS=(...networkmanager...)

From here you can reboot, start up your window manager and then start the applet based on the directions for your desktop environment in the wiki article. Now you just configure your access points, save them and you should have wireless on boot from now on!

You *may* need to setup the access points as root the first time, I think I had to, the wiki guide has a good 'permissions problems' section that helped me with that part. I also reccomend adding the applet to start up with your desktop environment.

Let me know how everything goes


Desktop: Arch Linux | AMD Athlon 64 X2 Dual Core 5000+ | 3GB RAM | GeForce 6800 XT 512MB | 1TB+
Audio Studio: XP SP3 | Intel Pentium 4 3GHz Prescott | 1GB DDR | GeForce 6800 128MB | 120GB

Offline

#3 2011-06-11 21:59:17

Garf
Member
From: Sydney, Australia
Registered: 2009-03-23
Posts: 23

Re: [SOLVED] Can't connect to wireless

I've got everything going.

Basically, I had my profile file wrong, and also needed to remove network from the daemon list in rc.conf, and add networking-profiles (I think) which made it so netcfg took over.

I needed it at boot before I started netfs because I have network shares auto mounting at boot also.

It;s all working well now. All I need now is an NFS so I don't have to rely on my other computer to be on (king of defeats the purpose of a low power machine in my living room if I have to have my other normal computer on to get content!

Offline

Board footer

Powered by FluxBB