serov

Профи в Сат-ТВ
сейчас набирайте команды по очереди
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib
insmod /data/modules/zd1211b.ko >/dev/null 2>&1
ifconfig eth1 192.168.0.100 netmask 255.255.255.0 up
iwconfig eth1 mode managed
iwconfig eth1 channel 9
iwconfig eth1 essid JapanPart
wifi сеть должна подняться по адресу 192.168.0.100,если после какой нибудь команды напишет ошику скажите какую
 

andrewponomarev

Профи в Сат-ТВ
# iwconfig eth1 channel 9
Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth1 ; Invalid argument.

Добавлено через 1 минуту
но eth1 поднялся

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1743 errors:0 dropped:0 overruns:0 frame:0
TX packets:2244 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130697 (127.6 KiB) TX bytes:341955 (333.9 KiB)

eth1 Link encap:Ethernet HWaddr 00:1C:C5:98:71:ED
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:135 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38790 (37.8 KiB) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
 
Последнее редактирование:

andrewponomarev

Профи в Сат-ТВ
# iwconfig eth1 essid JapanPart
iwconfig: error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file or di
rectory
#
 

serov

Профи в Сат-ТВ
libiw.so.29 лежит в /data/lib/ ?export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib это делали ?
 

andrewponomarev

Профи в Сат-ТВ
перегрузил катю и еще раз выполнил все команды

BusyBox v1.2.1 (2007.10.12-18:30+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9063 (8.8 KiB) TX bytes:22063 (21.5 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

# lsmod |grep zd1211b
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib
# insmod /data/modules/zd1211b.ko >/dev/null 2>&1
# ifconfig eth1 192.168.0.100 netmask 255.255.255.0 up
# iwconfig eth1 mode managed
# iwconfig eth1 channel 9
Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth1 ; Invalid argument.
# iwconfig eth1 essid JapanPart
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:286 errors:0 dropped:0 overruns:0 frame:0
TX packets:375 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22582 (22.0 KiB) TX bytes:57132 (55.7 KiB)

eth1 Link encap:Ethernet HWaddr 00:1C:C5:98:71:ED
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13622 (13.3 KiB) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

#
 

andrewponomarev

Профи в Сат-ТВ
# iwconfig eth1
iwconfig: error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file or di
rectory
#
 

andrewponomarev

Профи в Сат-ТВ
все ок

# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:204 errors:0 dropped:0 overruns:0 frame:0
TX packets:244 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15807 (15.4 KiB) TX bytes:34333 (33.5 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

# lsmod |grep zd1211b
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib
# insmod /data/modules/zd1211b.ko >/dev/null 2>&1
# ifconfig eth1 192.168.0.100 netmask 255.255.255.0 up
# iwconfig eth1 mode managed
# iwconfig eth1 channel 9
Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth1 ; Invalid argument.
# iwconfig eth1 essid JapanPart
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:370 errors:0 dropped:0 overruns:0 frame:0
TX packets:465 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28699 (28.0 KiB) TX bytes:68134 (66.5 KiB)

eth1 Link encap:Ethernet HWaddr 00:1C:C5:98:71:ED
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10512 (10.2 KiB) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

# iwconfig eth1
eth1 802.11b/g NIC ESSID:"JapanPart"
Mode:Managed Frequency=2.452 GHz Access Point: 00:1A:70:A1:C5:38
Bit Rate:11 Mb/s
Retry:eek:n RTS thr=9999 B Fragment thr:eek:ff
Encryption key:eek:ff
Power Management:eek:ff
Link Quality:95/100 Signal level:87/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:18 Missed beacon:0

#
 

andrewponomarev

Профи в Сат-ТВ
че то я торможу...
у меня на 192,168,0,100 есть девайс, щвс переделаю на другой айпи

Добавлено через 7 минут
катя пингуется по 192.168.0.100?

все гут, пингуется, только одна ошибка

# iwconfig eth1 channel 9
Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth1 ; Invalid argument.
 
Последнее редактирование:

serov

Профи в Сат-ТВ
в архиве помимо iwconfig была iwlist скопируйте её в папку /data/bin/ права 755 и замените команду
iwconfig eth1 channel 9 на
iwlist eth1 channel 9
 

andrewponomarev

Профи в Сат-ТВ
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.205 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4516 (4.4 KiB) TX bytes:15707 (15.3 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

# lsmod |grep zd1211b
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib
# insmod /data/modules/zd1211b.ko >/dev/null 2>&1
# ifconfig eth1 192.168.0.200 netmask 255.255.255.0 up
# iwconfig eth1 mode managed
# iwlist eth1 channel 9
iwlist: command `channel' needs fewer arguments (max 0)
# iwconfig eth1 essid JapanPart
# iwconfig eth1
eth1 802.11b/g NIC ESSID:"JapanPart"
Mode:Managed Frequency=2.452 GHz Access Point: 00:1A:70:A1:C5:38
Bit Rate:11 Mb/s
Retry:eek:n RTS thr=9999 B Fragment thr:eek:ff
Encryption key:eek:ff
Power Management:eek:ff
Link Quality:98/100 Signal level:87/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:64 Missed beacon:0

#
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1D:EC:00:6C:25
inet addr:192.168.0.205 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:233 errors:0 dropped:0 overruns:0 frame:0
TX packets:395 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18216 (17.7 KiB) TX bytes:55989 (54.6 KiB)

eth1 Link encap:Ethernet HWaddr 00:1C:C5:98:71:ED
inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:97 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17201 (16.7 KiB) TX bytes:36 (36.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

#
 

serov

Профи в Сат-ТВ
#iwlist eth1 channel 9 это ненадо я ошибся
попробуйте так
iwconfig eth1 freq 2.452G
 

andrewponomarev

Профи в Сат-ТВ
# iwconfig eth1 freq 2.452G
Error for wireless request "Set Frequency" (8B04) :
SET failed on device eth1 ; Invalid argument.
#
 

serov

Профи в Сат-ТВ
хорошо попробуйте всё с начала только без этой команды
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib
insmod /data/modules/zd1211b.ko >/dev/null 2>&1
ifconfig eth1 192.168.0.100 netmask 255.255.255.0 up
iwconfig eth1 mode managed
iwconfig eth1 essid JapanPart

после этого iwconfig eth1 сюда
 

andrewponomarev

Профи в Сат-ТВ
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/lib
# insmod /data/modules/zd1211b.ko >/dev/null 2>&1
# ifconfig eth1 192.168.0.200 netmask 255.255.255.0 up
# iwconfig eth1 mode managed
# iwconfig eth1 essid JapanPart
# iwconfig eth1
eth1 802.11b/g NIC ESSID:"JapanPart"
Mode:Managed Frequency=2.452 GHz Access Point: 00:1A:70:A1:C5:38
Bit Rate:11 Mb/s
Retry:eek:n RTS thr=9999 B Fragment thr:eek:ff
Encryption key:eek:ff
Power Management:eek:ff
Link Quality:92/100 Signal level:89/100 Noise level:0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:11 Missed beacon:0

#
 
Сверху