You are not logged in.

#1 2012-03-23 01:34:05

Avan
Member
Registered: 2012-03-11
Posts: 5

ipw2200-fw startup bash

Whenever I boot up my computer, I must run

ip link set eth1 up
wpa_supplicant -B -Dwext -i eth1 -c /etc/wpa_supplicant.conf
dhcpcd eth1

or the wifi card wont work. The only solution I can think of is to make a bash script containing these commands and having it run automatically on startup. How would one go about doing this?

Offline

#2 2012-03-23 01:51:38

Isola
Member
Registered: 2010-02-02
Posts: 99

Re: ipw2200-fw startup bash

Add it to /etc/rc.local

Offline

#3 2012-03-23 08:57:11

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: ipw2200-fw startup bash

And consider using Netcfg.


Burninate!

Offline

#4 2012-03-23 20:48:13

Avan
Member
Registered: 2012-03-11
Posts: 5

Re: ipw2200-fw startup bash

Ill try getting netcfg to work

Offline

#5 2012-03-23 21:10:56

Avan
Member
Registered: 2012-03-11
Posts: 5

Re: ipw2200-fw startup bash

When I try to connect to my network, it just says

IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported
IOCTL[blahblahblah] operation not supported

Failed

This happened occasionally when I did it manually. Whats the problem?

Offline

#6 2012-03-23 21:44:13

Theoden
Member
Registered: 2005-03-03
Posts: 240

Re: ipw2200-fw startup bash

Try this:

Make sure you have netcfg installed and properly set up (see the wiki).

1. Remove 'ipw2200' in MODULES in rc.conf  (If there).
2. Add 'blacklist ipw2200' in /etc/modprobe.d/modprobe.conf
3. Add '/sbin/modprobe ipw2200' in /etc/rc.local
4. Add 'netcfg <PROFILE-NAME>' in /etc/rc.local (after the modprobe line) - change '<PROFILE-NAME>' to the name you gave your
    ipw2200 netcfg profile.
5. Reboot.

This should result in your network coming up as you expect.

--Theoden


"If builders built buildings the way programmers write programs,
the first woodpecker that came along would destroy civilization."

Offline

Board footer

Powered by FluxBB