You are not logged in.

#1 2008-05-02 02:20:31

lf
Member
Registered: 2008-05-01
Posts: 17

Wireless does not connect (Works now)

I'd make a more descriptive subject, but I don't know what's wrong, just that it isn't connecting to the internet (pinging google returns an "unknown host" error), though the output I've been getting seems to suggest that it thinks it's connected.

I did take a look at the Network Profiles wiki entry, and it said if I had troubles, I should come here and provide the output from doing netcfg, ifconfig, iwconfig, lsmod, and what's in my network profile. Here it is: http://pastebin.com/f1d064537

I did take a look through that license at some point, both as root and as regular user, if that affects anything.

What am I missing?

Last edited by lf (2008-05-02 18:23:04)

Offline

#2 2008-05-02 05:51:32

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Wireless does not connect (Works now)

Hi If,
I saw that your wireless card is an Intel PRO/Wireless 2200BG, did you install the package ipw2200-fw?
Also post the output of dmesg command

Offline

#3 2008-05-02 07:22:41

lf
Member
Registered: 2008-05-01
Posts: 17

Re: Wireless does not connect (Works now)

Hello,
According to pacman ipw2200-fw is installed and up-to-date.

dmesg: http://pastebin.com/f28636e92

From the time that I made the topic until when I used the dmesg command, I was trying to (unsuccessfully) get my printer to work, if that affects anything.

Offline

#4 2008-05-02 08:59:44

dante4d
Member
From: Czech Republic
Registered: 2007-04-14
Posts: 176

Re: Wireless does not connect (Works now)

Your ifconfig output. You are using both wired and wireless connection at once? That didn't work very well for me... Try using just wifi (down wired connection profile and disconnect the cable) and without encryption first., then add wep. Post your /etc/reslov.conf and 'route' output please when connected with the wifi.

Offline

#5 2008-05-02 09:32:36

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Wireless does not connect (Works now)

The driver appears to be working fine, and you seem to have connected fine.

The error message implies that you havnt got any DNS set in /etc/resolv.conf, which is odd, as it's normally pulled in when DHCP runs.

Find out what your DNS servers are and then set them in your profile or /etc/resolv.conf

Offline

#6 2008-05-02 16:34:35

lf
Member
Registered: 2008-05-01
Posts: 17

Re: Wireless does not connect (Works now)

At the moment it's working. I did a combination of the two posts above, down wired connection and disconnected cable, then went to change /etc/resolv.conf. it worked for a bit, then it didn't work again when I disabled and re-enabled DHCP and changed /etc/resolv.conf again (to see if I can reproduce it).

Then I went to go change a part of the networking section of my /etc/rc.conf so that it looks like this:

#lo="lo 127.0.0.1"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
eth1="eth1 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(!lo eth0 eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(gateway)
#

I have no idea if that actually did anything, but then it worked after using netcfg2. I didn't change my network profile yet, but I will if I'm going to have end up having to change /etc/resolv.conf every time I want to use wireless.

Also, here is my ifconfig, /etc/resolv.conf and route now: http://pastebin.com/fed23d57

Thanks for your help!

Last edited by lf (2008-05-02 16:44:11)

Offline

#7 2008-05-02 16:51:28

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Wireless does not connect (Works now)

If you're going back and forth between dhcp and Static IP, /etc/resolv.conf may be getting re-written by dhcpcd. Maybe try adding -R to
DHCPCD_ARGS="-R -t 30 -h $HOSTNAME"
In your /etc/conf.d/dhcpcd..
though if you're using netcfg, you're probably not using the network daemon...hmm.

Offline

#8 2008-05-02 17:41:32

lf
Member
Registered: 2008-05-01
Posts: 17

Re: Wireless does not connect (Works now)

I messed with my /etc/rc.conf a bit more, and it seems that it doesn't matter if I set my eth1 interface to dhcp or not, but what does matter is the routes and gateway. It works when I have the gateway enabled under routes, but not when I have it disabled.

And according to the DAEMONS section, I am using the network daemon. Hmm...

In any case, it seems to be grabbing the right DNS now. Wired and wireless both work, but only when I down one of them, I think. (What dante4d said.)

Offline

Board footer

Powered by FluxBB