ndiswrapper -i /root/NET8180.INF
#no need for second line
#ndiswrapper -i net8180.sys
modprobe ndiswrapper
ndiswrapper -m
ifconfig wlan0 up
#now let's setup the wireless card
ifconfig wlan0 inet 192.168.2.50
#Acquire an IP address...
#this step i don't know for what is (removing something?)
#rm -f /etc/dhcpc/dhcpcd-wlan0.pid
#dhcpcd -t 10 wlan0
#Next I add the required information for connecting to net
#whay I need to setup ap to 00:00:00:00:00:00 I dont know - worked without this before
#iwconfig wlan0 ap 00:00:00:00:00:00
iwconfig wlan0 ESSID buscomp2
#ifconfig wlan0 up
ifconfig eth0 inet 168.168.168.1
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
# Set up IP FORWARDing and Masquerading
iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
x11vnc
Ovo mi izbacuje kao greske a ne znam zasto
ndiswrapper -i
: command not found23:
not found.le ndiswrapper
: command not found25:
: command not found26:
Usage: ndiswrapper OPTION
Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by 'inffile'
-d devid driver Use installed 'driver' for 'devid'
-e driver Remove 'driver'
-l List installed drivers
-m Write configuration for modprobe
-hotplug (Re)Generate hotplug information
where 'devid' is either PCIID or USBID of the form XXXX:XXXX
: command not found29:
: command not found31:
: command not found34:
: command not found38:
: command not found40:
: command not found41:
: command not found45:
: No such file or directoryc/sys/net/ipv4/ip_forward
: command not found52:
'ptables v1.2.11: Unknown arg `--flush
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.11: Unknown arg `--flush
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.11: Unknown arg `--delete-chain
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.11: Unknown arg `--delete-chain
Try `iptables -h' or 'iptables --help' for more information.
: command not found57:
'ptables v1.2.11: Invalid target name `MASQUERADE
Try `iptables -h' or 'iptables --help' for more information.
'ptables v1.2.11: Invalid target name `ACCEPT
Try `iptables -h' or 'iptables --help' for more information.
: command not found61:
: command not found62:
kada rucno unosim ove komande sve prolazi bez problema. Gde gresim?