[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:30487] [FYI]Plamo LinuxでノートPCを無線LANアクセスポイント化



����Ǥ���

���äȤ���L�����Ƥޤ����������ν���˸Ť��ʤä��Ρ���C��lamo Linux ������Ʋ���L�Υ��򻲹ͤ���LAN���������ݥ�������뤳�Ȥ�����ޤ����Τǡ���Ƥ��ޤ����������Ƥй����Ǥ��� Windows XP PC�����LAN�ǡ�Web�����ꡢPlamo Linux PC��SSH �³���� ���������ˤʤ�������

���
���Ρ���C����LAN�ǥХ���: Intel(R) PRO/Wireless 2200BG
��̵�LAN����Ad-Hoc mode, WEP
�������ƥ๽�: Plamo Linux 4.6 + Kernel 2.6.33

���ȥ�����

(���󥿡��ͥå�
      |
+----------------------------------+
|[�֥��ɥХ�롼��(192.168.0.1)|
-----------------------------------+
      |
(ͭ� 192.168.0.0/24)
      |
+----------------------+
|(eth1 : 192.168.0.254)|
|[����C with Plamo] |
|(eth0 : 192.168.100.1)|
+----------------------+
      |
(̵� 192.168.100.0/24)
      |
+--------------------------------------+
|(Wireless LAN����ץ� : 192.168.100.2)|
|[Windows XP PC]                       |
+--------------------------------------+

�����Ķ��Ǥ���NIC��eth0��ͭ�NIC��eth1������������ޤ�

��o¦�����firmware�����
http://ipw2200.sourceforge.net/firmware.php?fid=8
����pw2200-fw-3.1.tgz* �������ɤ����������
ipw2200-bss.fw  ipw2200-ibss.fw  ipw2200-sniffer.fw
��sr/lib/murasaki/firmware.d �إ��ԡ�

���ѥ���ɤκ�
cat /dev/urandom | strings | tr -d '\n'
�ǽ�Ϥ��줿ʸ������������ڤ��������ե�����----/etc/network.conf begin---
case "$ADDRESS" in
eth0,*,*)
    INFO="netconfig configured: Fixed"
    PPPOE=n
    DHCP=n
    IPADDR=192.168.100.1/24
    GATEWAY=192.168.0.1
    DOMAIN=
    DNS=192.168.0.1
    ;;
eth1,default,*)
    INFO="netconfig configured: Fixed"
    PPPOE=n
    DHCP=n
    IPADDR=192.168.0.254/24
    GATEWAY=192.168.0.1
    DOMAIN=local
    DNS=192.168.0.1
    ;;
lo,*,*)
    INFO="Local loopback"
    PPPOE=n
    DHCP=n
    IPADDR=127.0.0.1/8
    GATEWAY=
    DOMAIN=
    DNS=
    ;;
esac
----/etc/network.conf end---

----/etc/network.fixed begin---
lo
eth0
eth1
----network.fixed end---

----/etc/wireless.conf begin----
case "$ADDRESS" in
eth0,*,*)
    INFO="Wireless AP"
    NICKNAME=
    ESSID="<��������ESSID>"
    MODE="Ad-Hoc"
    CHANNEL=3
    WEP="restricted"
    WEP_KEYS="s:<�ѥ�������
    WPA=
    ;;
esac
----/etc/wireless.conf end----

¾��C�����ѥ��å��������---/etc/rc.d/rc.inet1.sub �˰ʲ����---
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 192.168.100.0/24 -o eth1 -j MASQUERADE
----/etc/rc.d/rc.inet1.sub----

Plamo PC��Ф������³�ǤΥ���������Ĥ���---/etc/hosts.allow begin----
ALL : LOCAL 192.168.0. 192.168.100.
----/etc/hosts.allow end----


��ows XP PC¦�����[��������ͥ�[�ͥåȥ���³]-[�磻�����ͥåȥ���³��
�ץ��ƥ�]�����󥿡��ͥå��ץ�����CP/IP)��򤷤��ץ��ƥ�]�򲡤�
[����P���ɥ쥹���] ������ɥ쥹: 192.168.100.2
���֥ͥåȥޥ���: 255.255.255.0
�ǥե��������ȥ�����: 192.168.100.1
[����NS�����ФΥ��ɥ쥹���]
ͥ�DNS�����С�: 192.168.0.1 �� BB router�Υ��ɥ쥹

��̵�LAN�³�桼�ƥ�������lamo¦���ꤷ��ESSID��򤷤ơ�
�ͥåȥ���μ��򥢥ɥۥå����ꤷ���������ƥ��ǻ��ͭ����(WEP) ��򤷤ơ�16�ʿ��������lamo PC���������16�ʿ�� plamo¦��iwconfig eth0 ��Ԥ���Encryption key �Ȥ��ƽ�Ϥ��줿����Ϥ����ʾ����ϴ�λ



[検索ページ] [メール一覧]
Plamo ML 公開システム