You are not logged in.

#1 2010-11-23 03:11:34

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Network still not working

Hi, I'm trying to configure my network so that I can access the repositories but it's still not working. I have tried Googling, the Beginner's Guide, the Official Guide, and the Wiki but none of that is working.

What should I do now?

I'm using an Intel Wireless card.

Offline

#2 2010-11-23 03:15:28

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network still not working

tpho2500 wrote:

What should I do now?

give details about what you have done so far, what is failing and how it is failing.

Offline

#3 2010-11-23 04:26:28

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Re: Network still not working

#1
Chose Set up network for Netinstall
Selected DHCP and let it retrieve the IP address -> Failed
Did CD/DVD install instead

#2
-Did CD/DVD install instead

-Everything installed

-Pinged google.com to check if Internet is working -> host not found

-Changed host name to my desired name and added it to /etc/rc.conf

-Tried "hwdetect --show-net" but command "hwdetect" was not found

-Googled it and found out that I needed to install something from the repositories to use that command, but I could not use the repositories because my internet was not working -> Gave up

-Made sure my r.conf looked like this
eth0="dhcp"
INTERFACES=(eth0)
ROUTES=(!gateway)

-Restarted my networking by doing
# /etc/rc.d/network restart
It succeeded in stopping it but failed starting it

#3
-Tried using the "Wireless Setup" Arch Wiki but I need access to pacman to actually use it.
-Posted a thread in Noob Section

Offline

#4 2010-11-23 04:46:26

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network still not working

first thing you need is the firmware for your wifi chipset. i understand you cant get it installed from the mirrors so you should boot into your existing install with the arch install cd and install it from there. being an intel chipset, the module should be in arch kernel already. reboot and check dmesg if everything is properly recognized. have a look at lsmod and be sure your modules are loaded as well. then you should make some basic tests by trying to join your network manually. i understand you want to use dhcp but can you provide info wrt the network encryption you are using (none/wep/wpa/wpa2) ?

edit/ btw, your wireless card will most likely show up as wlan0, not eth0 which is for for your ethernet connection.

Last edited by bangkok_manouel (2010-11-23 04:49:56)

Offline

#5 2010-11-23 05:07:09

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Re: Network still not working

I'm using wpa2, how should I install the firmware from the arch cd?

Offline

#6 2010-11-23 05:12:44

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network still not working

what's your card? use pacman -U /path/to/your/package to install local packages. you can get the right package on the cd or download it from a mirror and put it on a usb key.

Offline

#7 2010-11-23 05:35:04

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Re: Network still not working

It's an Intel® Wireless WiFi Link 4965AGN
How do I know which is the correct package?

Offline

#8 2010-11-23 06:35:17

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network still not working

depending on the age of your install cd, it should be something like iwlwifi-4965-ucode. nowadays, in the repo, i guess it's called linux-firmware or something like this.

Offline

#9 2010-11-23 21:51:04

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Re: Network still not working

How can I find the path to the package when I cannot even look at it? I don't have a DE installed..

Offline

#10 2010-11-23 22:43:53

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Network still not working

YOu can download linux firmware from here http://www.archlinux.org/packages/core/ … -firmware/ save the file to some removeable media and then install it using pacman -U as bangkok_manouel said above

Online

#11 2010-11-24 01:41:34

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Re: Network still not working

Yes I understand that but the problem is that I don't know the path to the package on a usb drive or cd. If I type "pacman -U" will it automatically detect the linux firmware? Is it smart enough to pick linux firmware out of the hundreds of packages it can pick from?

Offline

#12 2010-11-24 21:20:14

tpho2500
Member
Registered: 2010-10-31
Posts: 13

Re: Network still not working

BUMP

I went through every step of the "Wireless Setup" Arch Wiki
Fixed my wpa_supplicant and such but the wireless is still not working...

Offline

#13 2010-11-24 22:06:41

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

Re: Network still not working

tpho2500 wrote:

How can I find the path to the package when I cannot even look at it? I don't have a DE installed..

Note the pacman man page:

pacman man page wrote:

-U, --upgrade
Upgrade or add package(s) to the system and install the required dependencies from sync repos. Either a URL or file path can be specified.

So, do this:

pacman -U http://mirror.rit.edu/archlinux/core/os/i686/linux-firmware-20101108-1-any.pkg.tar.xz

If you have no networking available on the installation machine at all, then go to a machine that you do have internet on and do:

pacman -Sw http://mirror.rit.edu/archlinux/core/os/i686/linux-firmware-20101108-1-any.pkg.tar.xz
pacman man page wrote:

-w, --downloadonly
Retrieve all packages from the server, but do not install/upgrade anything.

Then copy the package to a USB stick and use pacman -U /path/to/pkg.tar.xz on the installation machine.
You can also use wget, etc.

Last edited by Misfit138 (2010-11-24 22:15:00)

Offline

#14 2010-11-25 05:10:46

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Network still not working

hmm btw, i was installing arch on a friend's machine yesterday and saw that linux-firmware was installed during the install process, so...
$ ls /lib/firmware | grep 4965
gives a result? yes, next step:
$ ifconfig
you see wlan0? if not,
# ifconfig wlan0 up
and check ifconfig again
if yes,
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
# iwconfig wlan0
you can see you're associated? if yes,
# dhcpcd wlan0
now you're on the network
if not, check your wpa_supplicant.conf

/edit: typo

Last edited by bangkok_manouel (2010-11-25 05:11:17)

Offline

Board footer

Powered by FluxBB