During my recent business trip i encountered a problem connecting the internet with my idevice in hotel room. As in the hotel room they only provide wired Internet connection. The wireless hotspot is only available in the hotel lobby.
Of course, a wired Internet for idevice? It is impossible for now as the idevice has no network port.
It was too bad that I didn't bring along my TPLink USB adaptor. So how to go along with it?
...Via adhoc network... of course!
The idevice's apps work as there are connected to a wireless LAN. viber, skype, ppstv, whatsapp etc. FaceTime not quite working here- bad quality.
Please find the simple workaround to achieve this for slackware/linux as below:
====
# connect to the wired network
dhcpcd -R eth0
# setting up the wireless adaptor
iwconfig wlan0 mode ad-hoc
ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
iwconfig wlan0 channel auto
iwconfig wlan0 essid urssid
# turn on ip forwarding and masquerading.
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE
====
You can setup a dhcp server if you want to.
If you don't just setup an IP for your idevice. I.E 192.168.1.2 etc.
Tuesday, September 27, 2011
Saturday, September 17, 2011
PPStream on Slackware : firefox and Flash player
The picture below shows that The PPStream for Linux especially Slackware will not work if you have the flashplayer plugin in your firefox profile directory.

All you can do is just rename the plugins directory or remove the flashplayer plugin. This means your firefox will still be able to run as usual(without flash plugins).

All you can do is just rename the plugins directory or remove the flashplayer plugin. This means your firefox will still be able to run as usual(without flash plugins).
Saturday, July 23, 2011
Compaq nc6230+Slackware+Hostapd+TL-WN722N+Ath9k_htc+iptables+dhcpd : How to put them together
After few weeks of searching thru the internet; testing and retest and... etc.
Finally, have found the way to put them together.
The below combination is do-able:
Laptop Compaq nc6230
Slackware version = slackware 13.1
Kernel = linux-3.0.0-rc7
hostapd = hostapd-0.7.3
TL-WN722N = using ath9k_htc (direct from the kernel)
iptables = original from slackware 13.1
dhcpd = from slackware 13.1
Connecting with iPhone4 and iPad2 IOS 4.3.3 have no problem...
The configuration files will be provided upon request.
Finally, have found the way to put them together.
The below combination is do-able:
Laptop Compaq nc6230
Slackware version = slackware 13.1
Kernel = linux-3.0.0-rc7
hostapd = hostapd-0.7.3
TL-WN722N = using ath9k_htc (direct from the kernel)
iptables = original from slackware 13.1
dhcpd = from slackware 13.1
Connecting with iPhone4 and iPad2 IOS 4.3.3 have no problem...
The configuration files will be provided upon request.

Subscribe to:
Posts (Atom)
About
(1)
Android
(1)
ath9k_htc
(1)
Chinese Input
(1)
Compaq nc6230
(1)
desktop sharing
(1)
dhcpd
(1)
DiGi
(1)
Firefox
(2)
flashplayer
(1)
gadget
(1)
GPRS Modem
(1)
hostapd
(1)
Huawei
(1)
ipad2
(1)
iphone
(1)
iphone4
(1)
iptables
(1)
joikuspot
(1)
kde
(1)
KPPP
(1)
krfb
(1)
Linux
(11)
linux-3.0.0-rc7
(1)
live streaming
(1)
mobile device
(5)
Nokia E90
(2)
OBS studio
(1)
openssh
(1)
Photography
(4)
ppstream
(1)
pptv
(1)
putty
(2)
putty for mobile
(1)
Slackware
(12)
slackware 13
(2)
ssh without password
(1)
TL-WN722N
(1)
Turbo3G
(1)
USB Modem
(1)
Video
(1)
