Linux
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
forgot to chmod a+x dchpp ?
example:
example:
Code: Select all
[0:wza:df]# touch nix
[0:wza:df]# ll nix
-rw-r--r-- 1 root root 0 Jul 20 12:29 nix
[0:wza:df]# ./nix
bash: ./nix: Permission denied
[126:wza:df]# chmod a+x nix
[0:wza:df]# ll nix
-rwxr-xr-x 1 root root 0 Jul 20 12:29 nix
[0:wza:df]# ./nix
[0:wza:df]#http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
ow.. and create the logs dir _before you start_ dchpp ("mkdir logs"),
because dchpp will create it with strange permissions, and won't be able to write any logs to it.
(or.. if this message is too late, and the dir already exists, do "chmod 755 logs")
because dchpp will create it with strange permissions, and won't be able to write any logs to it.
(or.. if this message is too late, and the dir already exists, do "chmod 755 logs")
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Persson
- Posts: 18
- Joined: 2003-02-02 13:21
- Location: Sweden
Well, I've done what you told me but now I get this error
Nothing in the logs
Code: Select all
dch++ $ ./dchpp -console
IOCTL failed
Unauthorized
Nothing in the logs
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
./dchpp ethX
(where ethX is eth0, eth1 or whatever NIC from which you gave the MAC address to arne)
(where ethX is eth0, eth1 or whatever NIC from which you gave the MAC address to arne)
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Persson
- Posts: 18
- Joined: 2003-02-02 13:21
- Location: Sweden
Sorry but I don't seem to get it working
Does that mean that my MAC adress is not in the Linux version?
It worked fine in the windows version.
Code: Select all
$ ./dchpp eth0
Unauthorized
$
Does that mean that my MAC adress is not in the Linux version?
It worked fine in the windows version.
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
join wza.digitalbrains.com:1416 and I'll lay out how you can fix it
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
I don't think it's possible..
..a workaround would be to use the CrappyOs plugin, it will save your access.xml every 30mins, so you shouldn't have to worry about lost data.
you'll simply let init SIGTERM the process.
*must bug arne about trapping sigterm or sighup to shutdown the hub, and about not being able to run it in background (although one can use openvt(1) to allocate a virtual terminal for it)*
..a workaround would be to use the CrappyOs plugin, it will save your access.xml every 30mins, so you shouldn't have to worry about lost data.
you'll simply let init SIGTERM the process.
*must bug arne about trapping sigterm or sighup to shutdown the hub, and about not being able to run it in background (although one can use openvt(1) to allocate a virtual terminal for it)*
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
=)
my first guess would be:
you are not running a 686?
building 386 versions now..
see if that helps
my first guess would be:
you are not running a 686?
building 386 versions now..
see if that helps
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
well yeah, k6 has a 586 instruction set (or something.. I think ;) ), k7 is 686. (I'm not sure about the intel equivalents.)
I'll start building for the 586 from now on then =)
I'll start building for the 586 from now on then =)
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
OLDoMiNiON
- Posts: 202
- Joined: 2003-01-06 11:22
- Location: Salford, England.
problem with DnsBl i think..
if i run the hub with DnsBl enabled it crashes uppon first login.. this is the backtrace:
This hub is running DCH++ v0.27-Release (Plugin API v0.27) on Linux 2.4.22-grsec (i686)
thanx
OLDo
Loaded symbols for /lib/libresolv.so.2
#0 0x42a241f6 in Resolver::getHostByName(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const&, in_addr*) (this=0x0,
hostname=@0x4322be3c, iap=0x0)
at ../../../plugins/DnsBl/src/Resolver.cpp:197
197 ../../../plugins/DnsBl/src/Resolver.cpp: No such file or directory.
in ../../../plugins/DnsBl/src/Resolver.cpp
(gdb) bt
#0 0x42a241f6 in Resolver::getHostByName(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const&, in_addr*) (this=0x0,
hostname=@0x4322be3c, iap=0x0)
at ../../../plugins/DnsBl/src/Resolver.cpp:197
#1 0x42a22d63 in Resolver::resolve(_STL::basic_string<char, _STL::char_traits<char>, _STL::allocator<char> > const&) (this=0x809f238, ip=@0x4322be9c)
at /usr/local/include/stlport/stl/_string.h:1171
#2 0x42a22b33 in Resolver::run() (this=0x809f238)
at ../../../plugins/DnsBl/src/Resolver.cpp:72
#3 0x0805744f in Thread::starter(void*) (p=0x0) at ../../hub/Thread.h:132
#4 0x40f70a71 in pthread_start_thread () from /lib/i686/libpthread.so.0
(gdb)
This hub is running DCH++ v0.27-Release (Plugin API v0.27) on Linux 2.4.22-grsec (i686)
thanx
OLDo
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
using a non-reentrant gethostbyname seemed to do the trick..
if anyone knows the differences between gethostbyname_r on debian and on RedHat, I'd be very happy to hear them
http://wza.digitalbrains.com/DC/dchpp/a ... 61.tar.bz2
if anyone knows the differences between gethostbyname_r on debian and on RedHat, I'd be very happy to hear them
http://wza.digitalbrains.com/DC/dchpp/a ... 61.tar.bz2
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
Who is online
Users browsing this forum: Google [Bot] and 0 guests