In short - rtorretn compule wtih his LIB and crash with nasty errors.
I try everything known: SVN earlier versions nothing help!
At the very end of my misery i found patches - i don't know how to get and use them from this site but:
Download current - as full package with all SlackBuids in it.
"http://cgit.ponce.cc/slackbuilds/snapshot/current-20110329.1.tar.gz"
Get new one - this from above is only for example, from:
http://cgit.ponce.cc/slackbuilds/
untar
find builds for:
libtorrent
download libtorrent
sh ...( slackbuild like root)
install package that will find in /tmp
ldconfig - just for safety
do the same for
rtorrent
install again package from /tmp
that's all
Now will search what this people do to make my torrents happy.
31 март 2011, четвъртък
25 юни 2010, петък
wrt54g v 2.0 howto
1.
get this:
http://open-wrt.ru/downloads/kamikaze/8.09.2/brcm-2.4/openwrt-wr850g-squashfs.bin
on some linux do:
dd if=firmware.bin of=firmware.trx bs=32 skip=1
wget firmware.trx on /tmp of wrt54g
http://nuwiki.openwrt.org/oldwiki/OpenWrtDocs/Deinstalling
2.
http://wiki.openwrt.org/doc/uci/wireless/encryption
get this:
http://open-wrt.ru/downloads/kamikaze/8.09.2/brcm-2.4/openwrt-wr850g-squashfs.bin
on some linux do:
dd if=firmware.bin of=firmware.trx bs=32 skip=1
wget firmware.trx on /tmp of wrt54g
http://nuwiki.openwrt.org/oldwiki/OpenWrtDocs/Deinstalling
mtd -e linux -r write firmware.trx linuxreboot
and
2.
http://wiki.openwrt.org/doc/uci/wireless/encryption
root@OpenWrt:~# uci set wireless.@wifi-iface[0].encryption=psk2
root@OpenWrt:~# uci set wireless.@wifi-iface[0].key="your_password"
root@OpenWrt:~# uci commit wireless
root@OpenWrt:~# wifi
Configuration is also possible via direct editing of/etc/config/wireless
at end:
uci commit wireless
uci set wireless.@wifi-device[0].disabled=0 - can be other variable SEARCH disabled
uci show | grep disabled
and start it with
wifi
set new password for root with
password - this activate sshd after reboot and disable telnet
reenable dnsmasq and httpd and any in this dir /etc/rc.d/
with
/etc/rc.d/name enable
It may seems that some of them are started but it's not so enable one by one.
Because wireless work devices are connected but can't get IP.
add your rules in
/etc/rc.local
opkg update
opkg upgrade
opkg list - for packages
opkg install name of package
You may need more of iptables pakages for TTL or some filtering or shaping !
They are named with "extra" at end
http://wiki.openwrt.org/doc/uci
Add a firewall rule
This is a good example of both adding a firewall rule to forward the TCP SSH port, and of the negative (-1) syntax used with uci.
uci add firewall rule uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcp
uci set firewall.@rule[-1].dest_port=22
uci commit firewall
change the wan MAC address.
/etc/config/network you can run the commands below to change the wan
MAC address.
uci set network.wan.macaddr=""
uci commit network
ifdown wan && ifup wan
...
08 юни 2010, вторник
2.6.33 and 2.6.34 kernel suspend hibernate trouble
For 2.6.33: USB3 module is: xhci
For 2.6.34: USB3 module is: xhci_hcd
Before start suspend:
rmmod xhci_hcd ehci_hcd ohci_hcd forcedeth hangcheck-timer usbcore
After resume must:
modprobe usbcore
modprobe xhci_hcd
modprobe ehci_hcd
modprobe ohci_hcd
modprobe forcedeth
modprobe hangcheck-timer
Usually script's know for all this but not for USB3. And you will see this error:
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: Input/output error
or
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: No such file or directory
or similar. This is not a bug. This is caused from:
kernel: hub 6-0:1.0: cannot reset port 1 (err = -19)
kernel: hub 6-0:1.0: cannot disable port 1 (err = -19)
PM: Device usb2 failed to freeze async: error -2
kernel: PM: Device usb2 failed to suspend async: error -2
kernel: PM: Some devices failed to suspend
It can be seen in Slackware log's after : pm-suspend
this command produce very helpful LOG.
For 2.6.34: USB3 module is: xhci_hcd
Before start suspend:
rmmod xhci_hcd ehci_hcd ohci_hcd forcedeth hangcheck-timer usbcore
After resume must:
modprobe usbcore
modprobe xhci_hcd
modprobe ehci_hcd
modprobe ohci_hcd
modprobe forcedeth
modprobe hangcheck-timer
Usually script's know for all this but not for USB3. And you will see this error:
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: Input/output error
or
/usr/lib64/pm-utils/pm-functions: line 295: echo: write error: No such file or directory
or similar. This is not a bug. This is caused from:
kernel: hub 6-0:1.0: cannot reset port 1 (err = -19)
kernel: hub 6-0:1.0: cannot disable port 1 (err = -19)
PM: Device usb2 failed to freeze async: error -2
kernel: PM: Device usb2 failed to suspend async: error -2
kernel: PM: Some devices failed to suspend
It can be seen in Slackware log's after : pm-suspend
this command produce very helpful LOG.
31 май 2010, понеделник
32 bit packages on 64 slack
Simply:
http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib#obtaining_multilib_packages
Packages for 13.1:
http://connie.slackware.com/~alien/multilib/13.1/
installpkg *-compat32/*.t?z
Run 32 bit program if again stop,
ldd Program - see for missing lib and
convertpkg-compat32 Lib-package
install and try again.
After all this, when upgrade packages - look for *compat*txz if package like this is upgradedyou must do:
convertpkg-compat32 Package-name and install, .
http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:multilib#obtaining_multilib_packages
Packages for 13.1:
http://connie.slackware.com/~alien/multilib/13.1/
upgradepkg --reinstall --install-new *.t?zmassconvert32.sh -i slackware-current/slackware/
GET 32 BIT SLACKWARE PACKAGES 13.1 from some mirror i use Current
installpkg *-compat32/*.t?z
Run 32 bit program if again stop,
ldd Program - see for missing lib and
convertpkg-compat32 Lib-package
install and try again.
After all this, when upgrade packages - look for *compat*txz if package like this is upgradedyou must do:
convertpkg-compat32 Package-name and install, .
gpsd test install log - tangogps
gpsd - get and install from berlios:
tangoGPS - from home page
start like root:
gpsd -N -G -D 4 /dev/ttyUSB0
GPS device - /dev/ttyUSB0 - for My
-N to get data continuously
-G to listen on all interfaces
-D debug Level
To test:
telnet 0.0.0.0 2947
To get log from GPSD:
cgpxlogger > track.gpx
- for quick test cgps is used.
- do not use tee or other - will broke XML at END.
If all working well and GPS get signal:
- see in telnet:
$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33
$PGRME,93.08,M,28.68,M,97.40,M*22
$GPGGA,083522,4241.2008,N,02315.3579,E,2,00,,643.98,M,36.847,M,,*5B
$GPRMC,083522,A,4241.2008,N,02315.3579,E,0.6999,168.376,310510,,*23
- in cgpxlogger:
2d
- in gpsd debug:
gpsd: PrintSERPacket(, 0x33, 0x40, ) = 0x100383fa
gpsd: SendPacket(), writing 6 bytes: 100600fa1003
gpsd: PrintSERPacket(, 0x6, 00, )
gpsd: ACK
gpsd: PrintSERPacket(, 0x6, 00, ) = 00
gpsd: => GPS: 100600fa1003
gpsd: SendPacket(), wrote 6 bytes
gpsd: <= GPS (binary) /dev/ttyUSB0: $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24 gpsd: => client(0): $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24
gpsd: => client(1): $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24
gpsd: garmin_ser_parse() Type: 0x33, Len: 0x40, chksum: 00
In EVERY LOG is seen :
DIGIT:2
A,2
2d
This mean that GPS Lock position from Two satelites! This is very important.
If not Lock acquired, you will see:
"GPS has no fix" in gpsd log
and
A,1 - in telnet log
and no gpx log will be created from cgpslogger.
Any program will not work and give strange results :).
Google Maps:
First:
http://code.google.com/apis/maps/signup.html
And then:
http://norman.walsh.name/2006/06/20/gpxGoogle - this tool will make from GPX ready for use html - many thanks to creator.
http://www.obviously.com/gis/gpx_loader.html - load GPX file to google maps
Some KEY need :)
http://www.chrislacy.net/map/current/index.html - another loader for GPX file
See here for more:
http://www.topografix.com/gpx_resources.asp
tangoGPS - from home page
start like root:
gpsd -N -G -D 4 /dev/ttyUSB0
GPS device - /dev/ttyUSB0 - for My
-N to get data continuously
-G to listen on all interfaces
-D debug Level
To test:
telnet 0.0.0.0 2947
To get log from GPSD:
cgpxlogger > track.gpx
- for quick test cgps is used.
- do not use tee or other - will broke XML at END.
If all working well and GPS get signal:
- see in telnet:
$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33
$PGRME,93.08,M,28.68,M,97.40,M*22
$GPGGA,083522,4241.2008,N,02315.3579,E,2,00,,643.98,M,36.847,M,,*5B
$GPRMC,083522,A,4241.2008,N,02315.3579,E,0.6999,168.376,310510,,*23
- in cgpxlogger:
- in gpsd debug:
gpsd: PrintSERPacket(, 0x33, 0x40, ) = 0x100383fa
gpsd: SendPacket(), writing 6 bytes: 100600fa1003
gpsd: PrintSERPacket(, 0x6, 00, )
gpsd: ACK
gpsd: PrintSERPacket(, 0x6, 00, ) = 00
gpsd: => GPS: 100600fa1003
gpsd: SendPacket(), wrote 6 bytes
gpsd: <= GPS (binary) /dev/ttyUSB0: $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24 gpsd: => client(0): $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24
gpsd: => client(1): $GPGGA,083717,4241.2020,N,02315.3574,E,2,00,,646.51,M,36.847,M,,*58\x0d\x0a$GPRMC,083717,A,4241.2020,N,02315.3574,E,0.2071,344.474,310510,,*22\x0d\x0a$GPGSA,A,2,,,,,,,,,,,,,0.0,0.0,0.0*33\x0d\x0a$PGRME,86.39,M,28.69,M,91.03,M*24
gpsd: garmin_ser_parse() Type: 0x33, Len: 0x40, chksum: 00
In EVERY LOG is seen :
DIGIT:2
A,2
2d
This mean that GPS Lock position from Two satelites! This is very important.
If not Lock acquired, you will see:
"GPS has no fix" in gpsd log
and
A,1 - in telnet log
and no gpx log will be created from cgpslogger.
Any program will not work and give strange results :).
Google Maps:
First:
http://code.google.com/apis/maps/signup.html
And then:
http://norman.walsh.name/2006/06/20/gpxGoogle - this tool will make from GPX ready for use html - many thanks to creator.
http://www.obviously.com/gis/gpx_loader.html - load GPX file to google maps
Some KEY need :)
http://www.chrislacy.net/map/current/index.html - another loader for GPX file
See here for more:
http://www.topografix.com/gpx_resources.asp
28 май 2010, петък
catalist 10.5
From Aur: patches for 2.6.33 and 2.6.34-rc4.
--extract SomeDir
cd SomeDir/common/lib/modules/fglrx/build_mod/
cat PatchName| patch
cd SomeDir
./ati-installer.sh . --buildpkg Slackware/All
this will make packages in ../ Dir
If make in hand:
cp /usr/src/ati/fglrx-10.5/arch/x86_64/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 SomeDir/common/lib/modules/fglrx/build_mod/
./make.sh
--extract SomeDir
cd SomeDir/common/lib/modules/fglrx/build_mod/
cat PatchName| patch
cd SomeDir
./ati-installer.sh . --buildpkg Slackware/All
this will make packages in ../ Dir
If make in hand:
cp /usr/src/ati/fglrx-10.5/arch/x86_64/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 SomeDir/common/lib/modules/fglrx/build_mod/
./make.sh
21 май 2010, петък
memtest86+ on 64 Amd
memtest86+-4.10 HowTo
make
memtest.bin - linux Kernel x86 :)
copy "memtest.bin" to your boot dir /boot usually, not memtest it's ELF exe
edit
/etc/lilo.conf
add this:
image = /boot/memtest.bin
root=/dev/sda3 # no need
label = Memtest86
execute from bash like root, to refresh Loader >lilo
Grub: close to upper.
reboot choose memtest! And Happy waiting.
make
memtest.bin - linux Kernel x86 :)
copy "memtest.bin" to your boot dir /boot usually, not memtest it's ELF exe
edit
/etc/lilo.conf
add this:
image = /boot/memtest.bin
root=/dev/sda3 # no need
label = Memtest86
execute from bash like root, to refresh Loader >lilo
Grub: close to upper.
reboot choose memtest! And Happy waiting.
Абонамент за:
Публикации (Atom)