Friday, April 20, 2012
Tuesday, September 27, 2011
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.
Saturday, September 17, 2011
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
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.
Friday, August 20, 2010
This is a bit out of topic...
When you are not be able to ssh to your iphone... as the error message as below:
ssh_exchange_identification: Connection closed by remote host
it's very high possibility that you have inflected by the ikey virus.
you can do as below:
1. reinstall openssh; then do /usr/bin/ssh root@your_iphone_ip "rm /bin/poc-bbot /bin/sshpass /var/log/youcanbeclosertogod.jpg /var/mobile/LockBackground.jpg /System/Library/LaunchDaemons/com.ikey.bbot.plist /var/lock/bbot.lock /usr/libexec/cydia/startup /usr/libexec/cydia/startup.so /usr/libexec/cydia/startup-helper /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist"
reinstall openssh; then use your ssh client login and cut and paste "rm /bin/poc-bbot /bin/sshpass /var/log/youcanbeclosertogod.jpg /var/mobile/LockBackground.jpg /System/Library/LaunchDaemons/com.ikey.bbot.plist /var/lock/bbot.lock /usr/libexec/cydia/startup /usr/libexec/cydia/startup.so /usr/libexec/cydia/startup-helper /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist" (need to do it quick before the server's off; redo step 1 if you missed it.)
2. reinstall the openssh again; then change your openssh password.
if the above steps don't work.
reinstall cydia and then openssh; then change your openssh password.
See? the point is 'change your openssh password'!!!
Sources: found in the internet.
Sunday, May 30, 2010
Sunday, April 25, 2010
Once comfirm, run KPPP and go to the configuration :
Create a new account as below:
Under the Modems tab, create a new modem as below:
Test by querying the Modem as below:
Connect to the network by pressing the connect:
Do post your error message here if you're facing problem...
Tuesday, March 23, 2010
Please find the simple settings as below:
Assume that : wlan0 is the interface
Start-up script (manually)
ifconfig wlan0 down; (off the interface too, not sure why my system required this)
iwconfig wlan0 mode ad-hoc;
iwconfig wlan0 essid islackware.blogspot.com;
iwconfig wlan0 channel 11;
iwconfig wlan0 key s:0123456789123;
As for the mobile settings, pls refer to the attached.
After all this, ping 192.168.188.1 to see if there's any reply.
If you have any problem connecting it, feel free to leave comments..