1) go to Cydia and install "Enable tethering on 3GS..."
2) go to "Setttings->General->Network->Internet Tethering"
and switch tethering on. Press "Turn on Bluetooth"
3) on your linux machine establish a pairing of the iphone with the pc
in SuSe 11.2 you can do this with bluetooth-applet or bluetooth-wizard
4) on your iphone (with Settings->General->About->Bluetooth) or on your pc
(with "sdptool search DUN") find out the MAC address of your iphone's bluetooth
5) on the pc call "pand -c MACADDRESS -n" where MACADDRESS is the MAC address
discovered in step 4) (something like 00:01:02:03:04:05)
6) Set up your network on YaST2: "Network Devices->Network Settings->Add->Device Type=Bluetooth->
Next->Next->Ok
7) adjust your /etc/resolve.conf to contain
nameserver 81.3.216.100
nameserver 194.24.128.100
search 194.24.128.118
that's it.
Dienstag, 27. Oktober 2009
Freitag, 11. September 2009
set up firewall to allow only one ip address
iptables -F
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -L -v
iptables -A INPUT -s 111.111.111.111 -j ACCEPT # change the IP address as appropriate
iptables-save
rcSuSEfirewall2 restart
do not forget to start firewall automatically
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -L -v
iptables -A INPUT -s 111.111.111.111 -j ACCEPT # change the IP address as appropriate
iptables-save
rcSuSEfirewall2 restart
do not forget to start firewall automatically
Samstag, 27. Juni 2009
iphone tunnel suite 2.7 does not work any more with iPhoen firmware 3.0
take i-funbox which is very good: http://www.i-funbox.com/
get information about devices
To get information about devices attached to a computer run the command:
blkid
blkid
Mittwoch, 24. Juni 2009
tethering
Follow this steps and you can connect your laptop to the
internet through your iphone
http://help.benm.at/help.php
internet through your iphone
http://help.benm.at/help.php
Samstag, 6. Juni 2009
convert flv to mpg
ffmpeg -i test.flv -ar 22050 -ab 56 -r 25 -f flv -b 400 -qmin 3 -qmax 6 -s 320x240 test.mpg
Freitag, 5. Juni 2009
convert AVI to DVD format
1) -> (mencoder -o out.avi -noidx -oac copy -ovc copy ccmovie.avi)
-> ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg
-> dvdauthor --title -o dvd -f out.mpg
-> dvdauthor -o dvd -T
-> mkisofs -dvd-video -o dvd.iso dvd/
-> growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd dvd/*
OR
2) devede
-> ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg
-> dvdauthor --title -o dvd -f out.mpg
-> dvdauthor -o dvd -T
-> mkisofs -dvd-video -o dvd.iso dvd/
-> growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd dvd/*
OR
2) devede
Abonnieren
Posts (Atom)