Scientific Linux Cern 4.3の場合。

# /sbin/lsmod でドライバが入っていることを確認。

ここではipw2200。

# /etc/modprobe.confで
alias eth1 ipw2200

とする。

# /sbin/iwconfig eth1 key restricted s:WEP key
# /sbin/iwconfig eth1 essid ESSID
# /sbin/dhclient eth1

で起動。

# /sbin/ifconfig

で確認。

これらをshell scriptに並べておけば、
一時的に家の無線につなぐときに便利…かな。

コメント