Re: Backport of Qt issue(s)?
On Fri, Sep 21, 2018 at 11:37 AM wrote: > I'm myself (more or less) a Qt analphabet, so take with two fists of salt, > but I'd consider including > > https://lists.debian.org/debian-qt-kde/ > > ...you might find more knowledgeable folks there. Thanks! I just copied the question to that mailing list. -- Regards, Danny Smit
Backport of Qt issue(s)?
Hi all, I'm running into two (old) Qt bugs on Debian 9.5. Preferably I'd like to see them fixed upstream, so that the whole world can benefit from the changes, instead of applying patches locally. I'm willing to send pull requests of needed. I noticed by default Debian uses Qt 5.7, which isn't an LTS Qt version and not supported by Qt itself anymore. Will the Debian community (itself) do backports for this version? Can I submit (pull) requests in order to get bugfixes backported to the Qt that is provided by Debian? And is likely that my request for such backports will even get accepted? It currently concerns the following two issues: https://bugreports.qt.io/browse/QTBUG-37641 (not yet fixed, I'm also trying to get it fixed upstream) https://bugreports.qt.io/browse/QTBUG-48344 (fixed in Qt 5.11) Also, please let me know if there is a better mailing list to ask the question. -- Kind regards, Danny Smit
Re: make cannot find file
> Danny wrote: > > I found the slippery file ... ;) > > Thank you Thomas > > You owe my curiosity some details. What file was slippery in what way ? > How did you repair the situation ? > After installing EVERYTHING (lol) that has some resemblance to "asm/socket.h" (including the ones you suggested Thomas) and pulling out the last bit of hair left on my head I finally discovered I forgot about libc6-devel ... That seemed to have nailed down that elusive litter bugger of a file ... Have a nice day Danny
Re: make cannot find file
I found the slippery file ... ;) > On my system it is > /usr/include/x86_64-linux-gnu/bits/socket.h > which includes > > Thomas Thank you Thomas Have a nice day Day
Re: make cannot find file
Here is the VERBOSE=1 output: ++ root@fever:~/git/svxlink/src/build# make VERBOSE=1 /usr/bin/cmake -H/root/git/svxlink/src -B/root/git/svxlink/src/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /root/git/svxlink/src/build/CMakeFiles /root/git/svxlink/src/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/root/git/svxlink/src/build' make -f async/core/CMakeFiles/asynccore.dir/build.make async/core/CMakeFiles/asynccore.dir/depend make[2]: Entering directory '/root/git/svxlink/src/build' cd /root/git/svxlink/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/git/svxlink/src /root/git/svxlink/src/async/core /root/git/svxlink/src/build /root/git/svxlink/src/build/async/core /root/git/svxlink/src/build/async/core/CMakeFiles/asynccore.dir/DependInfo.cmake --color= make[2]: Leaving directory '/root/git/svxlink/src/build' make -f async/core/CMakeFiles/asynccore.dir/build.make async/core/CMakeFiles/asynccore.dir/build make[2]: Entering directory '/root/git/svxlink/src/build' /usr/bin/cmake -E cmake_progress_report /root/git/svxlink/src/build/CMakeFiles [ 0%] Building CXX object async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o cd /root/git/svxlink/src/build/async/core && /usr/bin/c++ -DINTERNAL_SAMPLE_RATE=16000 -D_REENTRANT -Dasynccore_EXPORTS -Wall -Wpointer-arith -O3 -fPIC -I/root/git/svxlink/src/build/include -I/root/git/svxlink/src/build -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -I/usr/include/sigc++-2.0-o CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o -c /root/git/svxlink/src/async/core/AsyncIpAddress.cpp In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0, from /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40: /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: asm/socket.h: No such file or directory #include ^ compilation terminated. async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] Error 1 make[2]: Leaving directory '/root/git/svxlink/src/build' CMakeFiles/Makefile2:102: recipe for target 'async/core/CMakeFiles/asynccore.dir/all' failed make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2 make[1]: Leaving directory '/root/git/svxlink/src/build' Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 On Jul 05 16, Alberto Luaces : > To: debian-user@lists.debian.org > Date: Tue, 05 Jul 2016 09:41:56 +0200 > From: Alberto Luaces > Subject: Re: make cannot find file > User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) > X-Loop: debian-user@lists.debian.org > > Danny writes: > > > Hi guys, > > > > I am having trouble with make. It complains about a missing header file > > "asm/socket.h". > > > > I did a search for each package that contains this file and installed them > > but > > the error still persists. > > > > +++ > > root@fever:~/git/svxlink/src/build# make > > [ 0%] Building CXX object > > async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o > > In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0, > > from > > /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40: > > /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: > > asm/socket.h: No > > such file or directory > > #include > > ^ > > compilation terminated. > > async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target > > 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed > > make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] > > Error 1 > > CMakeFiles/Makefile2:102: recipe for target > > 'async/core/CMakeFiles/asynccore.dir/all' failed > > make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2 > > Makefile:117: recipe for target 'all' failed > > make: *** [all] Error 2 > > +++ > > > > Any pointers? > > Yes. Do a > > make VERBOSE=1 > > to see the compilation flags. > > -- > Alberto
make cannot find file
Hi guys, I am having trouble with make. It complains about a missing header file "asm/socket.h". I did a search for each package that contains this file and installed them but the error still persists. +++ root@fever:~/git/svxlink/src/build# make [ 0%] Building CXX object async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o In file included from /usr/include/i386-linux-gnu/sys/socket.h:38:0, from /root/git/svxlink/src/async/core/AsyncIpAddress.cpp:40: /usr/include/i386-linux-gnu/bits/socket.h:345:24: fatal error: asm/socket.h: No such file or directory #include ^ compilation terminated. async/core/CMakeFiles/asynccore.dir/build.make:123: recipe for target 'async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o' failed make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncIpAddress.cpp.o] Error 1 CMakeFiles/Makefile2:102: recipe for target 'async/core/CMakeFiles/asynccore.dir/all' failed make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 +++++++ Any pointers? Thank you Danny
Re: Bypassing lock files
Thanks Tomas ... seems like I have some reading to do ... ;) ... On Dec 20 15, to...@tuxteam.de : > To: debian-user@lists.debian.org > Date: Sun, 20 Dec 2015 13:17:48 +0100 > From: to...@tuxteam.de > Subject: Re: Bypassing lock files > User-Agent: Mutt/1.5.21 (2010-09-15) > X-Loop: debian-user@lists.debian.org > > On Sun, Dec 20, 2015 at 12:00:39PM +0200, Danny wrote: > > Hi, > > > > I have an application that uses /dev/ttyS1 and creates a lock file in > > /var/lock > > ... however I need to inject extra data into /dev/ttyS1 via a bash script > > ... > > > > How would I go about "bypassing" the lock file in order for this script to > > inject the data? > > The lock is not mandatory, it's there just to support well-behaved > applications. > You can echo, cat, cp... whatever into /dev/ttyS1. That said, it's then your > responsibility to ensure you're getting the results you expect. > > Two applications writing into the same tty end up shuffling their output in > some semi-random way. > > Things to look out: check that the other application is (somehow) in a > quiescent state and that it has flushed its output buffer to some sensible > point (and isn't in the middle of something, e.g. a line or whatever). > > A more robust way of injecting things might be a filter which accepts the > input of your application, injects its stuff at appropriate "places" in the > stream and sends the combined stream to ttyS1. But it might be more work > too (but it might be as simple as sed/awk/perl/...). > > Regards > -- tomás
Bypassing lock files
Hi, I have an application that uses /dev/ttyS1 and creates a lock file in /var/lock ... however I need to inject extra data into /dev/ttyS1 via a bash script ... How would I go about "bypassing" the lock file in order for this script to inject the data? Any pointers? Thank you Danny
Re: Sound card question
> I believe that the output of the headphone jack is not impedance matched--I > expect it's just > a voltage source. Wat's more, unless you are plugging the same low-impedance > devices into > both Y outputs, _and_ the source is impedance matched, you would not split > the power > equally. I don't know what you want to do with the second output, but it's > more > than likely a relatively high impedance, so it would not load the circuit at > all. > I could be wrong, but it seems logical to me. > > --doug O.k ... let me explain why I asked the question for the sake of satisfying any curiosity: I have EchoLink (Ham Radio VOIP) connected to Jessie like this: VHF Transceiver (with two interface cables going to the MIC and LINE-OUT jacks on the back of an internal sound card. Incoming audio (radio frequency) goes through the antenna ... through the transciever ... to the sound card (via the MIC interface cable) ... it gets processed by the sound card and stuff happens on VOIP ... Because the VHF transceiver is effectively turned into a repeater NO transmit or recieve audio can be heard on the transciever itself (as it should be). In order to hear comms coming in or out of the transciever (via an antenna) one has to connect to the transciever with ANOTHER transciever in order to hear people talk (if you are tuned to the same frequency off course) Now ... my second transciever is fitted inside my car ... in order for me to hear all comms on the frequency I need to go to my car and turn that transciever on every now and then which becomes a pain in the donkey ... ;) ... In order for me NOT to make a trip to the car every 10 minutes I though of splitting the LINE-OUT and add a normal set of desktop speakers. So ... I was just wondering if I will have any losses (in whatever form) when I "split" the signal ... keep in mind that the audio signals processed by the sound card should be strong and reliable ... Thank You Danny
Re: Sound card question
No jumpers on the motherboard ... :( ... On Oct 01 15, Rob van der Putten : > To: debian-user@lists.debian.org > Date: Thu, 01 Oct 2015 12:06:25 +0200 > From: Rob van der Putten > Subject: Re: Sound card question > User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130119 > Firefox/10.0.11esrpre Iceape/2.7.12 > X-Loop: debian-user@lists.debian.org > > Hi there > > > Seeker wrote: > > > > >If you do actually have an audio out and a line out and the line out > >doesn't produce > >audio when something is plugged into the audio out, it may be an > >indication that it's > >a hardwired mechanical function built into the audio out jack to break > >the circuit to the > >line out jack when anything is plugged into audio out. > > Systems with headphone jack at the front and a line out at the rear, will > often switch of the the line out off when a headphone is plugged in. > This feature can usually be switched of by means of a jumper on the > motherboard. > Consult your motherboard documentation. > > > > > Regards, > Rob
Re: Sound card question
I checked alsamixer and have no means to enable/disable channels ... :( ... On Sep 30 15, Seeker : > To: debian-user@lists.debian.org > Date: Wed, 30 Sep 2015 23:10:39 -0700 > From: Seeker > Subject: Re: Sound card question > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 > Thunderbird/38.2.0 > X-Loop: debian-user@lists.debian.org > > > > On 9/30/2015 10:39 AM, Doug wrote: > > > > > >On 09/30/2015 09:55 AM, Danny wrote: > >>Hi guys, > >> > >>I have a Sigmatel STAC9227 on-board sound card. Everything works fine as > >>it > >>should. It has the normal Mic , Ext.Speaker and Line-Out jacks. > >> > >>Currently the Mic and Ext.Speaker plugs are permanently occupied via > >>speaker/mic > >>headphones (Amateur Radio Stuff) ... > >> > >>What I would like to know is if it would be possible to send audio that > >>goes to > >>the headphones to the Line-Out jack at the same time? > >> > >>Thank You > >> > >>Danny > >> > >> > >Why not just get a Y adapter? > > > >--dm > > > Ditto on the Y adapter, or some other external solution. > > Normal 3 jack hardware would be Pink (Microphone), Green (Audio Out), Blue > (Line In). > > Some hardware implementations do allow some jack functions to be changed, > but that > may or may not be the case for your specific hardware and if the hardware is > capable > may or may not be a feature that is implemented in the linux driver/mixer > software. > > Normally if it is an option that is implemented I would expect it to show as > a toggle in > one of the alsa mixers, possibly in the pulse audio stuff as well, similar > to the way > 'Mic Boost' might show in the mixers when the hardware supports that > function. > > If you do actually have an audio out and a line out and the line out doesn't > produce > audio when something is plugged into the audio out, it may be an indication > that it's > a hardwired mechanical function built into the audio out jack to break the > circuit to the > line out jack when anything is plugged into audio out. > > There are a few variables between the capabilities of the audio chip, the > mixer it is paired > with at the hardware level, the way the jacks are routed to these and the > way these show > up in the mixer at the software level. > > Maybe someone with the same/similar audio hardware will chime in with what > they see. > > Later, Seeker
Re: Sound card question
On Sep 30 15, Doug : > To: debian-user@lists.debian.org > Date: Wed, 30 Sep 2015 13:39:16 -0400 > From: Doug > Subject: Re: Sound card question > User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 > Thunderbird/38.2.0 > X-Loop: debian-user@lists.debian.org > > > > On 09/30/2015 09:55 AM, Danny wrote: > >Hi guys, > > > >I have a Sigmatel STAC9227 on-board sound card. Everything works fine as it > >should. It has the normal Mic , Ext.Speaker and Line-Out jacks. > > > >Currently the Mic and Ext.Speaker plugs are permanently occupied via > >speaker/mic > >headphones (Amateur Radio Stuff) ... > > > >What I would like to know is if it would be possible to send audio that goes > >to > >the headphones to the Line-Out jack at the same time? > > > >Thank You > > > >Danny > > > > > Why not just get a Y adapter? > > --dm lol ... that never even crossed my mind ... Using a Y-adapter naturally forces the following question: Does it effectively split the power/gain into two and I end up with half on one side and half on the other? Danny
Re: Sound card question
I actually ordered a Lexicon Omega for my son on e-Bay 2 weeks ago (still waiting for delivery ... ;) ) ... however, it is a little overkill for my use ... but thank you anyway for your input ... >n Sep 30 15, rlhar...@oplink.net : > To: debian-user@lists.debian.org > Date: Wed, 30 Sep 2015 09:36:15 -0500 > From: rlhar...@oplink.net > Subject: Re: Sound card question > User-Agent: SquirrelMail/1.5.2 [SVN] > X-Loop: debian-user@lists.debian.org > > On Wed, September 30, 2015 8:55 am, Danny wrote: > > What I would like to know is if it would be possible to send audio that > > goes to the headphones to the Line-Out jack at the same time? > > I would be surprised that the case is otherwise. I always install > "pavucontrol" (pulse audio volume control), which may be all you need. > > But "jack" can provide any signal routing you need. > > A few years back I began using a USB interface for sound on everything. > This approach allows me to switch the entire sound apparatus from one > machine to another with only a single USB cable, so long as the machine > has a USB port and pavucontrol is installed. And I no longer have to > worry about the idiosyncrasies of all various on-board sound systems. > > One advantage of the USB interface approach to sound is the ability to use > professional (that is, balanced) apparatus, which, by design, eliminates > hum and buzz. You might find balanced gear advantageous when > radio-frequency interference (RFI) is a consideration. > > Entertainment and broadcast supply houses (bswusa.com, fullcompass.com, > markertek.com, bandh.com) stock a variety of economical USB interfaces. > > For many in the audio business (podcasting, performance, and audio mixing > and editing), USB sound has obsoleted bus-based sound cards. > > The Lexicon Alpha at less than fifty dollars is versatile and reliable, > and is powered from the USB bus. The Lexicon design (Alpha and Omega) > uses the mixer paradigm, and can accommodate a mix of balanced and > unbalanced inputs and outputs. > > RLH >
Sound card question
Hi guys, I have a Sigmatel STAC9227 on-board sound card. Everything works fine as it should. It has the normal Mic , Ext.Speaker and Line-Out jacks. Currently the Mic and Ext.Speaker plugs are permanently occupied via speaker/mic headphones (Amateur Radio Stuff) ... What I would like to know is if it would be possible to send audio that goes to the headphones to the Line-Out jack at the same time? Thank You Danny
Re: Setting up AP with hostapd
Hi, Did you eventually solve it? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150702143053.GA28280@fever.havannah.local
Disable startup services on Debian 8
Hi guys, Recently one of the harddrives on my main Debian v7 backup server failed due to multiple power failures where I live. The power failures and spikes also fried the UPS's connected to the server. Along with the Debian v7 backup server I have smb servers (x4) running Debian v3 (why fix it if it ain't broken ;) ) 2x proftpd servers running Debian v3 ;) one Apache,Squid3 server on Debian v7. I bought a new harddrive and installed Debian v8 on it (which I regret). Nothing in Debian v8 seems to work together. After removing/purging all traces of bloatware (gnome/KDE etc etc) from the default install I configured and setup all necessary servers/daemons and stuff I need to re-instate the server to it's former glory. My problem is this though: hostapd used to work flawlessly on Debian v7 but now it does'nt. It complains that it cannot load the nl80211 driver (I know that the nl80211 driver is referenced by cfg80211/mac80211 which comes up on lsmod). But still, hostapd cannot load the driver. I removed ALL references/files/configs to wicd/Network-Manager and seemingly other files that could interfere with hostapd or that can prevent hostapd from bringing up wlan0. However, when I peeked into rc0/1/2/3/4/5/6.d (in an attempt to see what startups could possibly interfere) I was astounded at the amount of crap that is started up by Debian v8. (Devuan looks better day by day ;) ) Now, before I ditch my beloved Debian (hello Devuan or [INSERT OTHER DISTRIBUTION HERE]) could someone for the love of doughnuts and beef jerky tell me which services/daemons/crap I can disable ... PLEASE ... I am too scared to randonly disable stuff for fear of a Drone Strike as punishment for my insubordination and refusal to accept SystemD ... ;( Can I disable the user.slice stuff? acpid.path/service/socket avahi (which I disable but miraculously re-appears) bootmisc.sh dbus.* emergency.* hibernate.* all the mount.this and mount.that stuff? network.omline network.target network.pre-target remote.* rescue.* And finally ... how do I disable SystemD at boot and if that cannot be done maybe something simpler ... how do I disable Debian v8 at boot??? Any ideas??? I want my Debian Back the way it Was ! Have a nice day ... Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150609084425.GA15260@fever.havannah.local
Re: Have I been hacked?
Hi, I have read with interest all the responses and followed all the links. However, I realized something that I think we all (well, at least myself) forgot about ... and that is the importance of choosing a proper username ... Authentication (usually) is a 2 step process ... as we all know ... a username and a password ... and since ssh is (mostly) referred to here ... we can accept that it is most definately a 2 step process ... So ... if I know the username I am already halfway there ... I just need to get the OTHER remainig 50% (by breaking the password) ... and (like someone mentioned) it will take immensely long for someone to break a 10 (I think it was 10) character password ... then why is the importance of a good username ignored ... if I have a (creepy) username of 10 characters it will take a black hat twice as long to get what he wants ... or am I misleading myself (and others) here ... are we not putting too much emphasis/pressure on a good password where the pressure could be spread between the username AND password ... just asking ... Someone also mentioned black-hats ... I think that black-hats are a necessary evil ... just like lawyers ;) ... I understand some mechanical things better than others, like hydraulics and pneumatics ... mechanical engineering is no obstacle to me ... however ... I have difficulty in getting my head wrapped around things like squid, iptables, procmail, regexp ... some of you have no difficulty in any of these but have difficulty in mechanical stuff ... it is supposed to be like that ... when I think of black-hats I think of the green Matrix screen ... they are a special breed ... they see things that white hats don't see because it is their nature ... Just like car mechanics can tune/alter an engine so can black-hats tune alter a TCP/IP stream/payload ... Am I right in saying that there is actually nothing new when it comes to networking ... hear me out ... the internet (and most networks out there) still works on TCP/IP which is 40 odd years old (70's) ... a car mechanic only needs to know how an engine works ... you can bolt on many other things onto an engine and add a pletora of sensors to it but essentially it remains an engine ... if you understand the way an engine or an automatic/manual transmission works you can confidently service/overhaul any engine/transmission because they all are made up of the same stuff and they all work the same ... and this is my point with TCP/IP ... EVERYTHING is dumped on top of TCP/IP ... yet it remains the same ... a black hat only needs to know TCP/IP in order to knock on your door ... once he knocked on your door it means that he has found you ... he knows you are there ... all he has to do is look at the Matrix screen ... am I making sense? ... Have a nice day Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150113171319.GA31019@fever.havannah.local
Re: Have I been hacked?
> afaik all you can do to block an entire country is drop all the ip > blocks assigned to them, which will be tedious. > For instance here is a list of the blocks for Belgium: > http://www.nirsoft.net/countryip/be.html > > -Joris > Thanks for the link ... just for fun I added China and Belgium to iptables and those 2 countries's ip address range/blocks added 20866 lines to iptables ... Now just imagine if I had to add Russia, Bangkok etc ... :) ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150110220621.GB18991@fever.havannah.local
Re: Have I been hacked?
> On 01/09/2015 11:29 AM, Danny wrote: > I am an Aircraft Engineer by trade not a Computer > Scientist > > Have you considered that alone would make you a tasty bit to hack, > and for that reason, if you have anything tasty on your machine, you > REALLY need to clear it up soonest with a complete re-install. I'd > add a measure of panic to that level of concern. No need for the > black hats to have access at all. :) Ric > Luckily for me I am one up on them ... I stash all juicy stuff under the mattress ... ;) ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150110215339.GA18991@fever.havannah.local
Re: Have I been hacked?
> > You have completely failed to understand what fail2ban is telling you. > > > Anyway, I have decided to get new hardware and do a clean install of > > everything > > ... as many of you have suggested ... > > It was heading that way so it is probably best for you. > You sound like a heartless Seargeant Major in the Marines ... ;) ... > > However, as I fly a lot internationally, is there a way I can temporarily > > block > > these country's IP's for a few days at most untill I have enough time on > > hand to do a fresh install ... > > What has flying got to do with it? > What I meant was that I fly a lot and don't have time in the immediate future to do a fresh install ... So I wanted a temporary stop-gap solution for a few days untill time would lend itself for the task ... > > Currently my iptables looks like this ... > > If you have resorted to using iptables you have lost it. A standard > Debian install doesn't need it. > Yip ... definately a Seargeant Major ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109164451.GE17386@fever.havannah.local
Re: Have I been hacked?
*me* < blushing > > Why? > > If you don't know anyone in China, don't pick up the phone. Why are > your services responding to them? > > You're not seriously telling us you're accepting user name and password > for ssh authentication from the Internet, are you? > Uhm ... yes ... (looking down ashamed ...) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109163909.GD17386@fever.havannah.local
Re: Have I been hacked?
> Blocking a country which is famous for producing chocolate and beer. > What is the world coming to? rofl :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109163622.GC17386@fever.havannah.local
Re: Have I been hacked?
So Many?? > For instance here is a list of the blocks for Belgium: > http://www.nirsoft.net/countryip/be.html > > -Joris > Feel sorry for iptables ;) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109163429.GB17386@fever.havannah.local
Re: Have I been hacked?
> If you want to inspect further, I would suggest you look at each of the > jobs being run. See if they are what you expect them to be. Also check > your /etc/crontab and /etc/anacrontab to see what is in them. I would love to investigate further but I am afraid I am not inclined towards forensics ... lol ... I am an Aircraft Engineer by trade not a Computer Scientist ... :) ... I played around with sleuthkit but that confused the living hell out of me ... lol ... I don't even know what to look for ... The server I have is a small community/family server that gives wireless access to poor families ... > > As for the attacks - I've seen a big uptake in the attacks over the last > couple of weeks. The worst I've seen is > 100 IP's locked out in one 24 > hour period. They are coming from all over the world, although since > there are a lot of proxies (many of them from trojans/viruses installed > on unsuspecting machines), there's no easy way to tell what the real > origins are. It's astonishing how quick they can find an IP ... > I have permanently blocked the IP ranges of some of the worst offenders, > but the only real way to stop it is to take your machine off the > internet completely. > > Just ensure you're using good security practices - don't allow root > login, use long, random passwords, etc. I also use a random character > strings for the login ids, as well as passwords - just one more thing > for the hackers to have to figure out how to get around. That's the problem right there ... random passwords ... lol ... but I will have to adapt ... Thank You -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150109162948.GA17386@fever.havannah.local
Re: Have I been hacked?
this guy use a username that only he is familiar with ... Other usernames that were used: 3D, ssht and ftfl ... Also, attempts were made from China, Hong Kong, Belgium and Canada ... Anyway, I have decided to get new hardware and do a clean install of everything ... as many of you have suggested ... However, as I fly a lot internationally, is there a way I can temporarily block these country's IP's for a few days at most untill I have enough time on hand to do a fresh install ... Currently my iptables looks like this ... ### *nat :PREROUTING ACCEPT [73562:7321518] :INPUT ACCEPT [26916:2177387] :OUTPUT ACCEPT [80090:6554227] :POSTROUTING ACCEPT [0:0] #For squid to reroute HTTP trafic to port 80 -A PREROUTING -s 10.0.0.0/24 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128 -A PREROUTING -i wlan0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 10.0.0.5:3128 -A POSTROUTING -j MASQUERADE COMMIT *filter :INPUT ACCEPT [5927:1484640] :FORWARD ACCEPT [1571:107578] :OUTPUT ACCEPT [4983:1212852] -A INPUT -i eth1 -p tcp -m tcp --dport 80 -m state --state NEW,ESTABLISHED -j ACCEPT -A FORWARD -s 10.0.0.0/24 -i eth1 -o wlan0 -m conntrack --ctstate NEW -j ACCEPT -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -p tcp -s 122.0.0.0/8 -j DROP -A INPUT -p tcp -s 61.0.0.0/8 -j DROP -A INPUT -p tcp -s 117.0.0.0/8 -j DROP -A INPUT -p tcp -s 103.0.0.0/8 -j DROP -A INPUT -p tcp -s 82.0.0.0/8 -j DROP -A INPUT -p tcp -s 204.0.0.0/8 -j DROP -A INPUT -p tcp -s 218.0.0.0/8 -j DROP COMMIT ### As you can see ... I am already DROPping some of these IP's ... I just need something to block an ENTIRE country ... Thank you ... and thanks to everyone replying ... I apreciate it ... Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150108205345.GA4732@fever.havannah.local
Re: Have I been hacked?
> A stab in the dark, but is it possible this machine has services exposed to > the internet, and you'd not applied fixes against the recent shellshock bug? > Jip ... ssh, apache, postfix, popa3d ... come to think of it ... all the candy is available ... lol ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150106195319.GB8038@fever.havannah.local
Re: Have I been hacked?
Hi guys, I am afraid my happiness was short lived. To test if the deletion of the file (and the effects thereof) would be permanent I rebooted the system and consequently found another file (same size, same random lettering) booted up with everything else. :( ... The culprit is well hidden and regenerates itself ... I did "file -k", "grep -ir" and most of the other things you guys suggested, but nothing showed up. I am now going through the "after-compromise" chapter as one of you suggested. I will run "sleuthkit" and report if anything is found. However, I am afraid a backup and re-installation is on the horizon for me .. sigh . Can I make the "/etc/init.d" directory readable only with the contents thereof still executable ... untill I can properly back-up and install everything again? ... or maybe some other short term solution ... Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150106195126.GA8038@fever.havannah.local
Have I been hacked?
Hi guys, A while ago I posted a question about SFTP (I think the thread name was "SFTP Question") about attacks I got against my server after syslog warned me about an attempted breakin. Consequently I installed fail2ban and did a few other things to let me sleep better at night. However, prior to this breakin, in early December 2014, I noticed my network behaving strangely especially through wireless connections. I have Debian that acts as a gateway (wlan0->br0->eth0). wlan0 is the pickup for the internal network that gets bridged to eth0 which then goes through the router to the internet. What I noticed was that wireless connections would break down quickly, bind9 would fail to resolve (even on wired connections) and pages would load slow. In general it was chaos. Under the impression that it was a hardware failure, I changed the wlan0 adapter. Still it was the same. So I bought a more expensive one, and still no change. I changed eth0 with an expensive one and still it was the same. I bought 2 new Netgear ADSL routers but the chaos was still there. wlan0, br0 and eth0 just didn't want to work together no more. Eventually I stopped all bootup scripts and processes trying to isolate the problem. And guess what, I found the culprit. Here it is: ## -rwxr-xr-x 1 root root 648K Dec 11 17:17 /boot/dippqejwvf ## This file got booted up and caused all the havoc. I moved it to a secure place and now it seems that all gremlins have gone away. The date on this file is 11 Dec 2014, right about the time my troubles started. I think that those Chinese guys got into my system even before syslog warned me a few days later. However, I have a few other weird looking files in the /boot directory. Can you guys please have a look at them and tell me if they are normal or not. # drwxr-xr-x 3 root root 4.0K Jan 6 19:35 . drwxr-xr-x 24 root root 4.0K Jan 3 17:23 .. -rwxr-xr-x 1 root root 648K Jan 6 19:03 aknaykocbs -rwxr-xr-x 1 root root 648K Jan 1 11:34 bxerzoalfk -rw-r--r-- 1 root root 157K Dec 10 18:57 config-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 132K Dec 8 00:36 config-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Dec 20 08:04 cwpgfmvkrk -rwxr-xr-x 1 root root 648K Dec 30 22:41 czhlgmsgzh -rwxr-xr-x 1 root root 648K Dec 30 20:03 dkseypedtx -rwxr-xr-x 1 root root 648K Jan 3 15:14 esijfkmwnd -rwxr-xr-x 1 root root 648K Dec 27 14:49 fndswijgdk -rwxr-xr-x 1 root root0 Dec 20 08:14 gbwokvqoch drwxr-xr-x 3 root root 12K Jan 3 17:23 grub -rwxr-xr-x 1 root root 648K Jan 5 07:28 gyimenpwnt -rwxr-xr-x 1 root root 648K Dec 31 17:49 hjmmvaxfzq -rwxr-xr-x 1 root root 648K Dec 15 21:25 hutaslspbf -rw-r--r-- 1 root root 14M Jan 3 17:25 initrd.img-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 11M Jan 2 22:01 initrd.img-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Jan 2 18:47 isrgzlchmx -rwxr-xr-x 1 root root 648K Dec 27 14:56 izytxsbskq -rwxr-xr-x 1 root root 648K Jan 5 18:40 kvvcqvddix -rwxr-xr-x 1 root root 648K Jan 1 11:19 ryrfvxjggh -rwxr-xr-x 1 root root0 Jan 5 19:08 sgopxfsiac -rw-r--r-- 1 root root 2.0M Dec 10 18:57 System.map-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 1.6M Dec 8 00:36 System.map-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Dec 30 20:40 ttqssdikcn -rwxr-xr-x 1 root root0 Dec 26 17:11 utxlhlmnix -rwxr-xr-x 1 root root0 Dec 12 07:29 vdqepbezvg -rw-r--r-- 1 root root 2.9M Dec 10 18:56 vmlinuz-3.16.0-0.bpo.4-686-pae -rw-r--r-- 1 root root 2.6M Dec 8 00:35 vmlinuz-3.2.0-4-686-pae -rwxr-xr-x 1 root root 648K Dec 31 17:30 wevzubbsgn -rwxr-xr-x 1 root root 648K Jan 1 09:46 xjeemjyuly -rwxr-xr-x 1 root root 648K Jan 1 17:10 zfmpizunja -rwxr-xr-x 1 root root 648K Jan 1 10:00 zkdjlvhuui -rwxr-xr-x 1 root root0 Dec 30 22:32 zpaqgbuxvr What bothers me is that the "other" files are all the same size (648k) as the suspected file I removed and they are very recent additions to the /boot directory. Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150106180456.GA8657@fever.havannah.local
Re: SFTP question
I think what is the most disturbing is the fact that it eventually happened to me ... :( ... never thought it would ... And truth be told I am guilty at riding the horse bareback with guns blazing whenever I setup a server ... not paying much attention to security. But alas ... I have learned my lesson ... This incident scared the crap out of me ... lol ... :) ... > Not surprising. If you haven't been paying attention to your logs (you > should ALWAYS monitor them if you are connected to the internet!), you > haven't seen what has probably been going on for a long time. Agreed > I've seen attacks start within hours of putting a new system on the > internet. I see multiple attacks on my servers every day. Makes me wonder how these guys get hold of IP's so quickly ... > Attacks seem to have increased in the last few days. Which begs the question ... do these guys just shoot from the hip? ... or do they have a mandate or something? Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141225174728.GA22623@fever.havannah.local
Re: SFTP question
08:04 fever sshd[25682]: reverse mapping checking getaddrinfo for 251.50.174.61.dial.wz.zj.dynamic.163data.com.cn [61.174.50.251] failed - POSSIBLE BREAK-IN ATTEMPT! Dec 24 19:08:04 fever sshd[25682]: User root from 61.174.50.251 not allowed because not listed in AllowUsers Dec 24 19:08:04 fever sshd[25682]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.174.50.251 user=root Dec 24 19:08:06 fever sshd[25682]: Failed password for invalid user root from 61.174.50.251 port 44941 ssh2 Dec 24 19:08:09 fever sshd[25682]: Failed password for invalid user root from 61.174.50.251 port 44941 ssh2 Dec 24 19:08:09 fever sshd[25682]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.174.50.251 user=root Dec 24 19:08:10 fever sshd[25733]: Connection from 61.174.50.251 port 47735 Regards, Fail2Ban ### and ### Hi, The IP 122.225.103.124 has just been banned by Fail2Ban after 3 attempts against ssh. Here are more information about 122.225.103.124: Lines containing IP:122.225.103.124 in /var/log/auth.log Dec 24 16:19:16 fever sshd[10766]: Connection from 122.225.103.124 port 12625 Dec 24 16:19:31 fever sshd[10766]: User root from 122.225.103.124 not allowed because not listed in AllowUsers Dec 24 16:19:32 fever sshd[10766]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=122.225.103.124 user=root Dec 24 16:19:33 fever sshd[10766]: Failed password for invalid user root from 122.225.103.124 port 12625 ssh2 Dec 24 16:19:36 fever sshd[10766]: Failed password for invalid user root from 122.225.103.124 port 12625 ssh2 Dec 24 16:19:36 fever sshd[10766]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=122.225.103.124 user=root Regards, Fail2Ban ### Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141224194803.GA7615@fever.havannah.local
Re: SFTP question
Hi Bob, You were right, SFTP, FileZilla and Proftp confused the hell out of me ... lol ... I must add in my defense though that I was in a state of panic after syslog warned me of an attack by someone during the night via ssh ... So I frantically tried to make ssh and Proftp work together without reading the online guides properly ... Sometimes one does stupid things ... lol ... Thanks for everyone's input ... Danny On Dec 23 14, Bob Proulx : > To: debian-user@lists.debian.org > Date: Tue, 23 Dec 2014 15:49:34 -0700 > From: Bob Proulx > Subject: Re: SFTP question > User-Agent: Mutt/1.5.23 (2014-03-12) > X-Loop: debian-user@lists.debian.org > > Danny wrote: > > I am trying to setup SFTP (ssh) with ProFTP. > > It looks to me like you might be confusing ssh sftp with proftpd sftp. > I assume you are not using ftps. > > http://www.proftpd.org/docs/contrib/mod_sftp.html > > > My /etc/proftpd/conf.d/sftpd.conf looks like this: > > > > > > SFTPEngine on > > Port 7003 > > SFTPLog /var/log/proftpd/sftp.log > > # Configure both the RSA and DSA host keys, using the same host key > > # files that OpenSSH uses. > > SFTPHostKey /etc/ssh/ssh_host_rsa_key > > SFTPHostKey /etc/ssh/ssh_host_dsa_key > > SFTPAuthMethods publickey > > SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u > > SFTPCompression delayed > > > > Here you are using the ssh host keys for proftpd. I assume that is okay. > > > I added the following line in /etc/ssh/sshd_config: > > > > Subsystem sftp /usr/lib/openssh/sftp-server > > This flew a red flag for me. If you are using proftpd for sftp then > why does the above line in ssh matter? Secondly you say you added > that line to the file and yet that file already contains that line > when installed. This leads me to think that maybe you are confusing > ssh sftp with proftpd sftp? Maybe? > > > I generated a key for each user that will use SFTP located in their > > /home/USER/.ssh/ directory > > Good. > > > As you can see, I have setup SFTP to listen on port 7003. > > Yes. What is your reasoning? It is okay whatever it is. I know very > savvy people who like to have a non-standard port just to avoid the > dictionary attacks causing endless noise in their log files. I on the > other hand prefer to use fail2ban to watch over the logs and to ban > abusive users. > > > My question is the following: The users that will connect to the ssh > > server uses FileZilla and mostly from Windows based machines. I > > copied the "id_rsa" key files (which was generated on Debian) to the > > Windows user's "My Documents" folder on Windows. I also added the > > (copied) "id_rsa" files to FileZilla. > > I don't generally use MS-Windows so don't know how things work there > but it sounds strange to me to need to have the private key in two > different places. I expect there to be one exactly correct location > to have the private key. > > > However, I get an "Authentication Failed" followed by a "Critical > > Error:Could not connect to server" from FileZilla. > > What a useless error message! :-( > > If it were me I would turn on sshd debug and then connect to the ssh > sftp and see what the server side of the connection reported. For > example like this. Then connect to it using port and watch the > server side of the messages. Very useful for debugging. > > # /usr/sbin/sshd -d -p > > Since you are trying to set up proftpd instead I suggest looking in > the /var/log/proftpd/sftp.log file and see what the server side errors > were in the connection. > > > 1:Do I need to generate different keys on Windows or is it o.k to > > use the copied ones from Debian? > > 2:Do I have to name the copied or generated files the same as the user? > > 3:Where do I put the key files on Windows? > > These would be good questions for an MS-Windows user mailing list that > deals with FileZilla. > > > (I use puTTY to normally connect to my ssh servers, which works fine) > > But that would use putty+sshd not filezilla+proftpd, right? In which > case it doesn't have any relationship to the problem you are trying to > solve now. > > Bob -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141224070154.GB30814@fever.havannah.local
SFTP question
Hi guys, I am trying to setup SFTP (ssh) with ProFTP. My /etc/proftpd/conf.d/sftpd.conf looks like this: ### SFTPEngine on Port 7003 SFTPLog /var/log/proftpd/sftp.log # Configure both the RSA and DSA host keys, using the same host key # files that OpenSSH uses. SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey /etc/ssh/ssh_host_dsa_key SFTPAuthMethods publickey SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u SFTPCompression delayed ## I added the following line in /etc/ssh/sshd_config: Subsystem sftp /usr/lib/openssh/sftp-server I generated a key for each user that will use SFTP located in their /home/USER/.ssh/ directory As you can see, I have setup SFTP to listen on port 7003. My question is the following: The users that will connect to the ssh server uses FileZilla and mostly from Windows based machines. I copied the "id_rsa" key files (which was generated on Debian) to the Windows user's "My Documents" folder on Windows. I also added the (copied) "id_rsa" files to FileZilla. However, I get an "Authentication Failed" followed by a "Critical Error:Could not connect to server" from FileZilla. 1:Do I need to generate different keys on Windows or is it o.k to use the copied ones from Debian? 2:Do I have to name the copied or generated files the same as the user? 3:Where do I put the key files on Windows? (I use puTTY to normally connect to my ssh servers, which works fine) Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141223125228.GA24853@fever.havannah.local
Test only
Hi guys, Please ignore this ... Just testing a few tweaks I made in postfix ... :) Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20141204122252.GF11639@fever.havannah.local
DHCP quickie
Hi Guys, Is it possible to only give leases at a certain time of day for a certain IP or MAC? Say from 06:00 till 10:00 and then from 18:00 till 22:00? Just wondering Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140304173257.GA6878@fever.havannah.local
Re: very slow Xorg and/or bash
Hi, I think you are looking for the answer in the wrong place. Remember that Xorg is totally network aware. When it starts up, it checks your hostname and resolv.conf file. A bad configuration of these two will slow Xorg down considerably. The reason I say this is because very recently (last week or so) I ran into a few problems with DNS, and whenever I misconfigured one of these files Xorg would take up to 15 seconds and sometimes even more to start. Also, I had slow logins with terminals. Properly configuring these two files rectified the problem. Hope it helps Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140226065445.GD4113@fever.havannah.local
Re: resolv.conf misbehaving
Hi, O.k guys, I think I sorted it out. I can do both forward and reverse lookups now. My life is normal again ... Pascal, you remind me of my maths teacher in high school ... very stern and to the point ... :) ... In the end I had to pay attention (again) to DHCP ... like many of you suggested ... It would appear as if DHCP is "stronger" than other users of resolv.conf and it has the last say as to what goes into resolv.conf ... by reading (a few times) the suggestions on this thread I finally did something right (don't even ask, cause I can't remember, was watching NASCAR while doing it ) ... Once again, thanks to all Have a nice day Danny On Feb 24 14, Pascal Hambourg : > To: debian-user@lists.debian.org > Date: Mon, 24 Feb 2014 22:46:23 +0100 > From: Pascal Hambourg > Subject: Re: resolv.conf misbehaving > User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) > X-Loop: debian-user@lists.debian.org > > Danny a écrit : > > > >> Warning : this setup is wrong and may not work as you expect. All listed > >> nameservers should be equivalent. Multiple nameservers are only for > >> redundancy, not to provide multiple sources. > >> > >> If you query the first server for an information out of its scope, it > >> may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the > >> next server won't be queried. So in the end you won't get your answer. > > > > However, what would be the point of giving resolv.conf multiple nameserver > > options then > > I wrote it : redundancy. > > > if one cannot "force" (for lack of > > a better word) it, or even arbitrarily change the order in which servers > > can be > > queried? > > You can force or change the order of the nameservers. /etc/resolv.conf > even has an option "rotate" to do round-robin among the listed > nameservers. What you cannot do is expect the current resolver library to : > - ask a given nameserver for a given type of queries (e.g. "external > names"), and another nameserver for another given type of queries (e.g. > "internal names") ; > - ask the next nameserver if the previous nameserver replied that the > requested name does not exist or does not have a resource record for the > requested type (aka negative answer). > > > The setup I had (Debian 3.0) worked. Unfortunately smart devices and more > > wireless laptops demanded attention. So I upgraded (clean install) to Debian > > 7.0. All I want to do is for all wireless devices to get DHCP from Debian > > (not > > the router) and query Debian (not the router) for name resolution. Simple as > > that. > > Why then are you messing with the router's nameserver ? > > If you need to resolve both internal and external names, I suggest that > you query only the Debian nameserver and configure it to reply to > recursive queries, either by itself or by forwarding them to the > router's nameserver. > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/530bbdaf.3090...@plouf.fr.eu.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140226063219.GC4113@fever.havannah.local
Re: resolv.conf misbehaving
Hi, My apologies, I must have missed your reply > Warning : this setup is wrong and may not work as you expect. All listed > nameservers should be equivalent. Multiple nameservers are only for > redundancy, not to provide multiple sources. > > If you query the first server for an information out of its scope, it > may reply negatively (status: NXDOMAIN or NOERROR, ANSWER: 0) and the > next server won't be queried. So in the end you won't get your answer. However, what would be the point of giving resolv.conf multiple nameserver options then (if I understand you correctly), if one cannot "force" (for lack of a better word) it, or even arbitrarily change the order in which servers can be queried? So it would be absolutely pointless in even trying? I think I am missing something somewhere, previously (Debian 3.0 and even later) one could add multiple nameservers in resolv.conf and the list would be queried one at a time if an ANSWER SECTION could not be obtained from the previous one. I fail to understand then the reasoning for "limiting" resolv.conf (and everything associated with it). I am no expert (by a long way) when it comes to any sort of DNS, but you don't need to be a Doctor to know when someone is ill. The setup I had (Debian 3.0) worked. Unfortunately smart devices and more wireless laptops demanded attention. So I upgraded (clean install) to Debian 7.0. All I want to do is for all wireless devices to get DHCP from Debian (not the router) and query Debian (not the router) for name resolution. Simple as that. I appreciate your input. Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140224132600.GA7788@fever.havannah.local
Re: resolv.conf misbehaving
Hi Guys, Looks like it was a combination of a few things. First of all (according to man "resolvconf") I had to add "dns-" hooks to /etc/network/interfaces. DHCP was also a little problem (like some of you pointed out). "resolv.conf" now has both the router and Debian as nameservers automatically. e can now do "dig fever.havannah.local" and it resolves correctly. It queries the Debian (10.0.0.5) server by default, which I want. However, if I do "dig -x 10.0.0.5" (the Debian server which is fever.havannah.local) it fails to resolve simply because it queries the router (10.0.0.2) instead of the Debian server which is 10.0.0.5. It is not even making attempts to query the Debian server. But if I force dig with "dig @10.0.0.5 -x 10.0.0.5" it resolves correctly. Is it because 10.0.0.2 (router) is pushed into resolv.conf first? Any pointers? fever.havannah.local= 10.0.0.5= Debian router.havannah.local = 10.0.0.2= router Here is my reverse lookup file (db.10.0.0): # ; ; BIND reverse data file ; $TTL604800 @ IN SOA fever.havannah.local. root.havannah.local. ( 2014022314 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; IN NS fever.havannah.local. 2 IN PTR zombie.havannah.local. 5 IN PTR fever.havannah.local. 6 IN PTR shotgun.havannah.local. # Here is my forward lookup file (db.havannah.local) # ; ; BIND data file for local loopback interface ; $TTL604800 @ IN SOA fever.havannah.local. root.havannah.local ( 2014022912 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS fever.havannah.local. @ IN MX 10 fever.havannah.local. zombie IN A 10.0.0.2 fever IN A 10.0.0.5 shotgun IN A 10.0.0.6 # And here is my dhcpd.conf file # option subnet-mask 255.255.255.0; # # Sample configuration file for ISC dhcpd for Debian # # # The ddns-updates-style parameter controls whether or not the server will # attempt to do a DNS update when a lease is confirmed. We default to the # behavior of the version 2 packages ('none', since DHCP v2 didn't # have support for DDNS.) ddns-update-style none; # option definitions common to all supported networks... option domain-name "havannah.local"; option domain-name-servers 10.0.0.5, 10.0.0.2; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. #authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. # fever subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.101 10.0.0.200; option routers 10.0.0.5 , 10.0.0.2; option domain-name-servers 10.0.0.5 , 10.0.0.2; } ##### Thanks guys for helping Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140223184721.GA4825@fever.havannah.local
resolv.conf misbehaving
Hi guys, The past weekend I upgraded from Debian v3.0 to the latest Debian stable (7.0 or something) ... (wish I never did) ... However, I have noticed that my resolv.conf gets overwritten by something after every reboot. The Debian server resolves all local (internal) addresses and the ADSL router resolves all external addresses. Normally my resolv.conf looked like this nameserver 10.0.0.2 (ADSL router) nameserver 10.0.0.5 (Debian server to resolve local addresses) Now it get's overwritten with : nameserver 10.0.0.2 I need to reslove both local and external addresses. At the moment I have to manually add the 10.0.0.5 into the resolv.conf file after rebooting. Any help or pointers? Thank You Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140220151722.GB10812@fever.havannah.local
installing debian 5 on dell inspiron 580s
hi there, I just got a new dell 580s with windows 7 and I3-530 processor. I partitioned the drive within windows and proceeded to install debian using the latest x86 net disk (I burnt the latest 150M ISO to a CD for the installation). Everythng goes fine except that it fails to detect the ethernet adapter. I'm then prompted to pick a driver from a long list. I called Dell to ask which adapter I had inside and they said it was the Broadcom 57788. I couldn't find this exact model number on broadcom's website but from their website I learnt that they have a bunch of drivers like tg3, bnx2 and b44. I tried all three but none works. (http://www.broadcom.com/support/ethernet_nic/downloaddrivers.php) I proceed with the install without network thinking it may work afterwords and was able to log in as root, etc. However, without the network support I can't do much. Any help will be appreciated. Thank you, - Danny
gettext upgrade woes
Hi guys, I am currently on Debian 5.04 and need to upgrade gettext from the current version to a newer one (im trying to upgrade DR17, and I get gettext errors). When I install gettext I get a LOT of dependency errors. Is there a way I can get gettext and the needed dependencies in one go? Thanks Danny (ps: apologies if this has been asked before) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100617133257.ga12...@fever
Quick Java Question
Hi guys, I have Debian 5.04 and have a little trouble with JRE. I downloaded the new JRE from Sun and installed it. But how do I tell firefox how to use the JRE ? Thanks Danny -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100522093336.ga5...@fever
Problem with me Modem Huawei on Debian Lenny
Hi Christian, It looks like Vista and Windows 7 people are experiencing the same problem as you are. If you go to the www.huawei.com forum you will find a bunch of non linux people have more or less the same problem with communicating with this modem. Just a stupid question, can Debian see this modem? Do the following for a start just to see if Debian can see it : dmesg | more | grep --color -A1 'dev' It is a simple command but at least you will see if it is recognised Danny On Apr 23 10, Umarzuki Mochlis : > To: Christian Simo > Date: Fri, 23 Apr 2010 23:11:41 +0800 > From: Umarzuki Mochlis > Subject: Re: Problem with me Modem Huawei on Debian Lenny > X-Loop: debian-user@lists.debian.org > > i had done that once and documented it at http://umarzuki.org/blogku/?p=174 > > P/S: use google translate to translate from Malay to English > > On Fri, Apr 23, 2010 at 11:06 PM, Christian Simo wrote: > > Hi Dear Team > > Please, I am new on Debian, so I try to connect my Modem Huawei E1752 on > Debian Lenny. > On Suse, I do it easy > > Thanks for your response. > > Christian > > > > > -- > Regards, > > Umarzuki Mochlis > http://debmal.my -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100424191139.gh2...@fever.havannah.local
sources.list urls for Etch
Hi Everyone, I have Etch and got my systems (laptop and desktop) running nicely. I an still realitively new to Debian/Linux and love it. I understand Etch is frozen and will soon be the stable version. I want to make sure I have the correct urls in my sources.list file. This is what I have now: deb http://mirrors.kernel.org/debian/ testing main deb-src http://mirrors.kernel.org/debian/ testing main deb http://security.debian.org/ testing/updates main I looked every where and cannot find anything conclusive. This is what I have found so far: deb http://ftp.debian.org/debian/ etch main contrib non-free deb-src http://ftp.debian.org/debian/ etch main contrib non-free I am in the United States. Will these work? What about the kernel? How about security udates? I use aptitude to maintain my systems and don't want to break anything when I update. Thanks, Danny Murdoch -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Adaptec 7902 SCSI - supermicro
Hi all, I create a RAID-1 config using the 7902 BIOS utility. When I try to install the latest Debian (I think) he only sees the individual disks, but not the RAID. Any suggestions? Tia, Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
bug in kernel (I think): 2.6.15 to 2.6.17 and 3c59x driver
Hi, First time reporting a bug! I'm unsure whether this is kernel or driver? (or both?) I've been using Knoppix for some time and they have worked great. The latest 5.0 and 5.0.1 versions have a problem configuring the network card on one of my mahcines. I have three machines here (1) PII/400 with BX motherboard and 3Com 3c900B NIC. (2) PIII/800 with BX motherboard and 3Com 3c900B NIC. (3) K6-2/400 with VIA motherboard and 3Com 3c900 and 3c905 NICs (firewall). Booting Knoppix 5 on (1) the NIC looks like it is configured but is unresponsive. (2) and (3) the NICs work fine, but... Looking into why (1) didn't work I found "ifconfig -a" showed eth0 with the wrong base address. I tracked down these lines in dmesg: PCI: Found IRQ 11 for device :00:0b.0 3c59x: Donald Becker and others. www .scyld.com/network/vortex.html :00:0b.0: 3Com PCI 3c900 Cyclone 10Mbps TPC at d085a000. Vers LK1.1.19 The "at d085a000" used to be "at 0x6800" on previous versions of Knoppix. In this example ifconfig shows eth0 base address as 0xa000. Base address of eth0 should be 0x6800 but values have been 0, 0x2000, 0xa000, 0xc000, 0xe000 ie it varies every reboot. Machine (2) shows a similar behaviour. Machine (3) eth0 is correct (sortof, ifconfig shows 0xe800 but dmesg shows 0001e800), eth1 varies like above (should be 0xec00). Previous versions of Knoppix work as expected. The address shown looks suspiciously like a memory address (~top 16 bits) and corresponds with the range of addresses shown by "cat /proc/kallsyms|grep 3c59x". lspci -v and cat /proc/pci show correct io port values Kernel version for 5.0 is 2.6.15 and for 5.0.1 is 2.6.17 and it felt like a kernel issue, so I installed Debian 3.0 on machine (1) from the Woody DVD and upgraded to Etch kernel 2.6.15-8 and 2.6.16-17. They failed in exactly the same way as Knoppix 5. So now I'm sure it's nothing added by Knoppix causing the error. I'm using Sarge with 2.4 kernel on machine (2) which is my main machine and I really didn't want to experiment on it! So I've only tried knoppix. Ditto for machine (3). I tried the Etch beta2 (2006-02-04) net installer and latest (2006-07-31) net installer. They do the same. Booting with the 2.6.16 kernel works all the way up to trying to use the network. Booting with install24 works like a dream of course. The error is very repeatable! It looks like it started around 2.6.15 and is still in 2.6.17. 2.6.11 was the last working. Not tried 2.6.12 to 2.6.14 kernels (still looking for live CDs). Unfortunately, I only have 3com cards for testing so I can't tell if it is a kernel or driver issue. The three machines are fairly different (excluding the NICs) so I can't believe it's a hardware issue and I can't believe I'm the only one to have seen it! They do have *me* in common! But they are fairly ordinary, not overclocked, no exotic hardware... I have reported this on the debian-knoppix mailing list and on the knoppix forum but it appears to have confounded everyone! This may have some more important details: http://www.knoppix.net/forum/viewtopic.php?t=24746 So, - Is this a bug? - Has it already been reported? - Should I report it as kernel or driver? - Should I file a seperate report about the debian-installer even though it's really the same bug? - How do I report this in a way that is useful? (has enough detail etc) Thanks, Danny.
Package question
Hi list, Could someone please tell me which package provides "msgfmt"? Thank you all in advance Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: a postfix problem
> Well, I have made some progress, but now it is barfing on the following > > mailhost:/usr/sbin# postfix set-permissions > chown: cannot access `/usr/lib/postfix/dict_ldap.so': No such file or > directory > > but I am not using ldap, what is going on here? any ideas? I am not a postfix expert by a long shot, but just in case, maybe you should install postfix-ldap. That is what I did. (Just in case) :) Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: a postfix problem
On May 15 06, bill thought of the following : > I am just trying to set up postfix on a newly installed sarge machine. > I have edited the main.cf, I am well accustomed to using postfix, but > have not so much experience with debian. > When I do a postfix reload after editing I get the following error > >postfix: fatal: bad string length 0 < 1: setgid_group = > could someone here please be kind enough to point me in the right > direction to get this sorted out > with many thanks > > Bill > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] Hi Bill, The following is an extract of "postfix_conf_parameters.html" found at www.postfix.org: setgid_group (default:postdrop) The group ownership of set-gid Postfix commands and of group-writable postfix directories. When this parameter value is changed, you need to re-run "postfix set-permissions". (With Postfix 2.0 and earlier:"/etc/postfix/post-install set-permissions") By the looks of it, you cannot have an empty value next to "setgid_group". Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Apply a patch?
On May 14 06, Roberto C. Sanchez thought of the following : > To: Debian-Users > Date: Sun, 14 May 2006 08:29:43 -0400 > From: "Roberto C. Sanchez" <[EMAIL PROTECTED]> > Subject: Re: Apply a patch? > User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) > X-Loop: debian-user@lists.debian.org > > Danny wrote: > > Hi List, > > > > How would I apply a patch to a .deb file?. I want to patch mutt before I > > install > > it. > > > > http://familiasanchez.net/~roberto/howtos/debcustomize > > -Roberto > > -- > Roberto C. Sanchez > http://familiasanchez.net/~roberto Thanks Roberto. Much appreciated. Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Apply a patch?
Hi List, How would I apply a patch to a .deb file?. I want to patch mutt before I install it. Thank You Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
enable usbfs on a nslu2 running debian3.1 2.6.15-1-nslu2
Hi, Please can you tell me how I can enable usbfs on a NSLU2 (ARM) machine running debian3.1 2.6.15-1-nslu2. The directory /proc/bus/usb does not exist. Is there a kernel module missing, and if so how do I add this. I appreciate any help (I am new to Debian, but have used other linux distributions). I have a c program which says it must use usbfs. Best Regards, Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
question about routing
Hi, Almost a year i am working with linux, i almost can do anyting from setting up a mail server, rebuilding the kernel but i do lack a lot of knowledge about routing, and somehow i do think that its just to simple but i dont see the light. Anyhow, bought recently a server to experiment with and finaly i would colocated it, but at home.. i have the current situation: My server is connected to a router, serving out (dhcp) 10.0.0.100-150 but i configurated my server to be static at 10.0.0.110. works fine, from my laptop i can communicate inside my 10.0.0.1 (gateway) network But this network is connect to my other network192.168.1.1 (gateway). And this router is connect to my ISP.. so briefly: ISP <-> 192.168.1.1 <> 10.0.0.1 <> my server: 10.0.0.110 How do i configure debian to communicate to the outsided.. i tryed a lot, but i dont understead the routing that well.. Can someone give me a clue, or refering to a website?.. Thanks, Danny.
Unsuscribe
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
unsuscribe
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mount problem with SATA and Kernel 2.6.6
Thank you for your answer. Now it works perfectly. I have compiled in the kernel also some SCSI stuff, which I thought it isn't necessary, like SCSI emulation. Danny "Justin Guerin" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Tuesday 11 May 2004 10:32, Danny wrote: > > Thank you for your answer. I always use the old .config. I use EXT3 > > filesystem with the drivers compiled in. I have no ramdisk, because I > > have compiled in the Promise drivers directly into the kernel. As written > > before, the hardisk is recognized correctly, also with the correct size. > > I have photographed the kernel messages during bootup and can see, that > > the SATA hardisk is attached as sda. It is strange, that I'm still unable > > to mount to SDA9, like in Kernel 2.4.18 > > > > The problem must be afterwards, after the Promise driver is being loaded. > > > > Thanks again, > > > > Danny > > Can you post the relevant portions of your boot log when using the 2.4.18 > kernel? That may provide some insight. Also, the output of lsmod may > prove helpful (also from working 2.4.18). It seems that you're missing > some kind of driver support, but it isn't the file system and it isn't the > controller, so that only leaves the SCSI command set, which doesn't seem > likely since it seems to attach the disk OK. > > Justin Guerin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Mount problem with SATA and Kernel 2.6.6
Thank you for your answer. I always use the old .config. I use EXT3 filesystem with the drivers compiled in. I have no ramdisk, because I have compiled in the Promise drivers directly into the kernel. As written before, the hardisk is recognized correctly, also with the correct size. I have photographed the kernel messages during bootup and can see, that the SATA hardisk is attached as sda. It is strange, that I'm still unable to mount to SDA9, like in Kernel 2.4.18 The problem must be afterwards, after the Promise driver is being loaded. Thanks again, Danny "Justin Guerin" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Tuesday 11 May 2004 08:46, Danny wrote: > > Hello, > > > > I have a weird boot problem. I have a SATA harddisk on a Promise > > controler with Nforce2 chipset. I have no problem to boot up with Kernel > > 2.4.18. All works fine instead of the Sound system. > > > > So I tried to use Kernel 2.6.6 as it have Nforce2 support. The problem > > is, that I can't boot, because of an Kernel panic, "unable to mount root > > on /dev/sda9". > > > > Strange thing is that I have compiled in all Promise and SATA drivers. > > Also during the boot process the SATA Hardisk are recognized as SDA with > > the correct size. This is my last line regarding the SCSI system: > > > > Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 > > > > Where can be the problem? Any help is greatly apreciated. Do you know, if > > the kernel-images provided from Debian are supporting SATA drives? > > > > Danny > > What is your file system type for /? Do you have the proper driver compiled > into your kernel? If not, are you using an initial ram disk, and does the > initrd have the file system driver included? > > If you want to use 2.6.6 with Debian compile options, you could always wait > until it's available, or install 2.6.5, copy the config, make oldconfig, > then add in your SATA drivers. > > Justin Guerin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Kernel date stamp?
We updated the kernel this weekend using apt-get update followed by apt-get . However, uname-a delivers the following response: Linux mail 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686 unknown Why is this kernel dated April, 2002? Is this the most recent version? TIA, Danny O'Brien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mount problem with SATA and Kernel 2.6.6
Hello, I have a weird boot problem. I have a SATA harddisk on a Promise controler with Nforce2 chipset. I have no problem to boot up with Kernel 2.4.18. All works fine instead of the Sound system. So I tried to use Kernel 2.6.6 as it have Nforce2 support. The problem is, that I can't boot, because of an Kernel panic, "unable to mount root on /dev/sda9". Strange thing is that I have compiled in all Promise and SATA drivers. Also during the boot process the SATA Hardisk are recognized as SDA with the correct size. This is my last line regarding the SCSI system: Attached scsi disk sda at scsi2, channel 0, id 0, lun 0 Where can be the problem? Any help is greatly apreciated. Do you know, if the kernel-images provided from Debian are supporting SATA drives? Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Kernel update process?
Sorry to have to post to ask for help on this basic task, but I can't find a step-by-step kernel replacement procedure anywhere on the Debian site. I've digested the Dwarf's Guide also, without revelation. Maybe I'm not hunting properly? We're running kernel 2.4.18-bf2.4 -- is there a more recent version? I've done a grep-available -P kernel|grep ^Package|sort, but the results don't show a more recent version than 2.4.18. I'm familiar with "apt-get" -- can I use apt-get to update the kernel? If not, what's the proper procedure? Thanks for any assistance, Danny O'Brien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Google Watch China
Google Watch China Google不??是搜索引擎。我?相信?泛而有效的使用Google??大促?社?大???能力的提高。??是,它?改?世界每一?人?被?接受知?到主?探索知?的革命性??,成就新一代先?知?的??者。 Google Watch China(Google?察中???)?立於2003年10月,通?Google-Watch-China.org?站、Google狂?分子、Google技?研究者及科?方法,大力宣?:“Google Creating Success”(Google?造成功)。我?的使命是提高大中?地?Google?用的?度及深度,??地?知?探索科?方法?用的革命性改???微薄之力。 我?掌握Google搜索排名中最?核心的100多?先?技?,并?大中???先的企???提供Google搜索排名服?,但??反?以作弊方式提升?路搜索排名。 我?宣???Google搜索?果的公正性, [EMAIL PROTECTED]@[EMAIL PROTECTED] 透??「Google?察中???」提供基本??捐助的伊梅中?有限公司(香港)及深圳市伊梅?文化?展有限公司,我?分?在大中??及中??地?展Google??字搜索排名服?,?以相?服?所??的收益?持「Google?察中???」的??。 我??明,「Google?察中???」?粹是由大中?地??多的Google狂?分子、Google技?研究者志?建立的非正式??,?未接受?Google官方??相?的任何捐助。我??立?展活?,?透?Google-Watch-China.org官方?站及我???的系列活?表?我?的意?。 我?宣?“?容?王,?力致?”的?路工作??,?客??大充?及改造企???,?流?者提供更多有?值??,以??的流量和充分的?容?力,?您的?站搜索排名在?多同行?手中???先,商??展。 欲?解更多??或有意使用我?的服?,?即致?查?。 ??我? 一般查? [EMAIL PROTECTED] ??服? [EMAIL PROTECTED] 市?推? [EMAIL PROTECTED] 科?方法 [EMAIL PROTECTED] 香港 香港??澳唐德街一???澳??3A座5G室 ??: +852 8211 7749 ?真: +852 3078 1881 深圳 深圳市??城新浩城新明?9C ??: 518000 ??: +86 755 26934613 26938270 26934614 ?真: +86 755 26934614 官方网站:http://www.google-watch-china.org Google前沿 http://www.Google-watch-china.org/google-front/ Google发展 http://www.Google-watch-china.org/google-history/ Google技术 http://www.Google-watch-china.org/google-technology/ Google人物 http://www.Google-watch-china.org/google-people/ Google中国 http://www.Google-watch-china.org/google-china/ Google环球 http://www.Google-watch-china.org/google-global/ Google教程 http://www.Google-watch-china.org/google-seach-course/ Google观察 http://www.Google-watch-china.org/google-watch/ Google顾问 http://www.Google-watch-china.org/google-gw/ 关于我们 http://www.Google-watch-china.org/about-google-watch-china-org/ Site maphttp://www.Google-watch-china.org/google-watch-china-org-site-map/ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
DVD Case & CD Sleeve Prices (Updated)
We've updated our prices! Here is just a sample: Black DVD Cases --- $0.1952 Each for 25 DVD Cases $0.1171 Each for 10,000 DVD Cases White Paper CD Sleeves with 4" Window and Flap --- $0.065 Each for 50 Sleeves $0.017 Each for 20,000 Sleeves * Call for larger quantities Visit http://securedisc.com for many more items at very low prices: - CD-Rs - $27.00 for 100! - DVD-R - $99.00 for 100! - CD Hubs - $3.75 per 100! - CD Mailers - $4.50 per 100! - and more... Thanks, Danny Vidal General Manager SecureDisc.com, Inc. 7938 South 3500 East Salt Lake City, Utah 84121 Salt Lake City 801-453-0238 Toll Free 1-(877)-347-2758 Fax 801-880-2544 e-mail [EMAIL PROTECTED] http://securedisc.com * Prices are FOB Ogden, Utah 84404. We respect your preference to not receive further e-mail from us. To remove your name from our list, please send a message to [EMAIL PROTECTED] and it will be promptly honored. You may also remove your name by directing your browser to the following URL: <http://securedisc.com/[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Postgre/PHP installation woes
OK -- many thanks, much better -- the parse error is gone, so it appears that the PHP page is connecting to the database! Alll right! (Please forgive the missing ')' in the string below, I'm not a PHP programmer, but I'm learning in a hurry. And under the old config, these files worked perfectly as they were, so...go figure.) However, the page is still refusing logins and passwords that were scripted into the DB (from the "fake_data" file), including the postgres db main user (not postgres, in our case). So, my next stop is to figure out how to manually add users into our database, to make sure that we have a working user in there. Thanks again -- any further suggestions welcome. On Feb 25, 2004, at 12:21 PM, [EMAIL PROTECTED] wrote: Quoting Danny O'Brien <[EMAIL PROTECTED]>: ... This led me to examine "dbconnect.php" -- the following line is present: $link = pg_connect ("", "", "", "", "ourdb" or die ( "Could not connect to database." ); Danny, First of all, that code snippet can't be right, you're missing a ')' check out the pg_connect manual page at: http://php.net/pg_connect You should pass it a valid connection string, but yours has a lot of empty values. Change: $link = pg_connect ("", "", "", "", "ourdb" or die ( "Could not connect to database." ); into: $conn_string = "dbname=ourdb user=postgres password=drowssap"; $link = pg_connect($conn_string) or die ( "Could not connect to database." ); This assumes that: The postgres server runs on the same machine as the websever (I understand it is). Since we didn't specify a host and port number, it will connect to the localhost over a unix domain socket. Your username is postgres (if it isn't, change it) You password is drowssap (change it to the real password) That should get you going All suggestions welcome. Solution guaranteed posted to the list. Since the solution includes your password, a 'it works' will do :) Joost DISCLAIMER This e-mail and any attached files are confidential and may be legally privileged. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify A.S.T.R.I.D. nv/sa immediately and then delete this e-mail. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Postgre/PHP installation woes
Thanks to everyone for the helpful replies (my original post is below, under the line). It appears that PHP is not connecting to our postgre database, as indicated by the following error that appears on the main PHP web page: Parse error: parse error in /var/www/srp/dbconnect.php on line 5 I've taken the following actions in response to the assistance you've offered: 1) Checked to see that the database (called "ourdb") is in fact available by entering "psql ourdb." The database opens up to an "ourdb" prompt. However, "locate ourdb" does not return a location for the DB. 2) Made sure that postgresql is running by outputting ps ax: xxx ?S 0:00 /usr/lib/postgresql/bin/postmaster xxx ?S 0:00 postgres: stats buffer process xxx ?S 0:00 postgres: stats collector process 3) Altered the pg_hba.conf (located in /etc/postgresql) to reflect the following, and re-started postgre: #localall ident sameuser localall trust host all 127.0.0.1 255.0.0.0 ident sameuser host all 0.0.0.0 0.0.0.0 reject 4) Made sure that the php4-pgsql module is present -- I did an "apt-get" for this last week 5) Examined the postgresql log for clues -- the log file is empty, indicating that no login attempts have been made -- I suppose because the auth.php has not found the DB. 6) pg_exec call deprecated under PHP 4.2.0 and replaced with pg_query: since we're using php 4.1.2-6wood, it seems that this does not apply to our setup. Correct? 7) Finally, examined the first 10 lines of auth.php: if( $real_login ) { $sql = "select fname, lname, password, admin_flag, client_id from usr where login = " . sqlstr( $real_login); $result = pg_exec( $link, $sql ); This led me to examine "dbconnect.php" -- the following line is present: $link = pg_connect ("", "", "", "", "ourdb" or die ( "Could not connect to database." ); All suggestions welcome. Solution guaranteed posted to the list. - Danny O'Brien $$ Original post: Any postgre experts out there? We have a PHP4 site that worked fine under a previous RedHat build, but we just can't get it working on this Debian build. Here's what we're running: Debian 3.0r1 "woody" Kernel 2.4.18-bf2.4 Apache 1.3.26-0woo postgres 7.2.1-2wood php 4.1.2-6wood We've applied a script sent to us by the original programmers, that installed several logins and passwords. But when we go to login to our PHP site, our login is rejected and we get the following error: Warning: Supplied argument is not a valid PostgreSQL link resource in /auth.php on line 10 Line 10 in auth.php looks like this: $result = pg_exec( $link, $sql ); We've attempted to log in many times, so we know we're not mis-typing the password. Is the login prompt not hitting the database? TIA for any suggestions, Danny O'Brien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Postgre/PHP installation woes
Any postgre experts out there? We have a PHP4 site that worked fine under a previous RedHat build, but we just can't get it working on this Debian build. Here's what we're running: Debian 3.0r1 "woody" Kernel 2.4.18-bf2.4 Apache 1.3.26-0woo postgres 7.2.1-2wood php 4.1.2-6wood We've applied a script sent to us by the original programmers, that installed several logins and passwords. But when we go to login to our PHP site, our login is rejected and we get the following error: Warning: Supplied argument is not a valid PostgreSQL link resource in /auth.php on line 10 Line 10 in auth.php looks like this: $result = pg_exec( $link, $sql ); We've attempted to log in many times, so we know we're not mis-typing the password. Is the login prompt not hitting the database? TIA for any suggestions, Danny O'Brien
Compiling PHP with postgres support?
We've been getting the following error when testing our PHP pages that make calls to our postgres database: Fatal error: Call to undefined function: pg_pconnect() in /var/www/.php on line 14 According to research, it seems as though we failed to compile PHP with postgres support at install time. We used Debian packages to install PHP and don't recall whether compiling with postgres was an option. - Should we remove PHP and start over with the regular PHP compiler? - Is there a "Debian way" to install PHP with postgres support? - Are we totally missing the boat here? Here's our versions: postgres 7.2.1-2wood php 4.1.2-6wood TIA for any and all assistance. -- Danny O'Brien
How to boot installed Debian system with Promise FastTrak 376?
Hello list, Yesterday I installed Debian 3 on my system with Promise FastTrak 376 controller with the help of the site: http://www.antgel.co.uk/compsci/linux/promise_raid.shtml Now comes my problem: My system doesn't boot! Grub showed only a Grub prompt. My Debian 3 (Woody) installation is on sd9. I have only one harddisk which is on the SATA port. I have also Windows XP installed. So in order to write this message I have made a FixMBR to be able to boot into windows. But now comes my question. What must I do, that I can choose between Windows and Debian 3? What must I do, that the ft3xx driver is loaded, so that Debian sees my Promise controller? Thanx in advance, Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Antony, you are the man, which saved me! Install with the help of your webpage was easy and fast and the installer detected my harddisk (no raid). But now after reboot, I can't boot. Grub crashes and showed only the Grub prompt at the bottom of the screen. How can I boot with your driver? Thanx in advance, Danny "Antony Gelberg" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Fri, Feb 13, 2004 at 12:04:03AM -0800, Nano Nano wrote: > > On Fri, Feb 13, 2004 at 08:38:03AM +0100, Danny wrote: > > > Hi Nano Nano, > > > > > > to supply a floppy during setup is no problem. There in the Debian 3 > > > installer is an option "Preload modules from disk". And that is all I ask > > > for, the modules (binary device drivers for Promise FastTrak 376), so that I > > > can put it on disk, that the Installer detects my Promise FastTrak 376 > > > controller. > > > > > > > all I ask is that if you figure it out you tell me too > > I came in a bit late here. Have a look on my site - > http://www.antgel.co.uk/compsci/linux/promise_raid.shtml. This has the > Promise driver module built against 2.4.18-bf24. > > A > > -- > Please don't CC me. Also _please_ read the following before posting: > Documentation - http://www.debian.org/doc/ > FAQ - http://www.debian.org/doc/FAQ/ > Install manual (i386) - http://www.debian.org/releases/stable/i386/install > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Nano Nano, until yet I had no success, I downloaded the binary drivers from the Promise site, (for Suse and RedHat) tried it, but it won't load. Also I used precompiled drivers from the site http://www.fys.ku.dk/~esban/promise376.html, but also with no success. I have written to Promise and pleased for binary drivers for Debian, but got no answer. Someone out there, who has precompiled drivers for Promise FastTrak 376? Danny "Nano Nano" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Fri, Feb 13, 2004 at 08:38:03AM +0100, Danny wrote: > > Hi Nano Nano, > > > > to supply a floppy during setup is no problem. There in the Debian 3 > > installer is an option "Preload modules from disk". And that is all I ask > > for, the modules (binary device drivers for Promise FastTrak 376), so that I > > can put it on disk, that the Installer detects my Promise FastTrak 376 > > controller. > > > > all I ask is that if you figure it out you tell me too > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Nano Nano, to supply a floppy during setup is no problem. There in the Debian 3 installer is an option "Preload modules from disk". And that is all I ask for, the modules (binary device drivers for Promise FastTrak 376), so that I can put it on disk, that the Installer detects my Promise FastTrak 376 controller. Danny "Nano Nano" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Thu, Feb 12, 2004 at 10:26:52PM +0100, Danny wrote: > > Hi Nano Nano, > > > > thank you for your posting, but I'm an absolute Linux beginner. I have > > installed only Windows, so I can't compile a new kernel, as I have no Linux > > avaiable. > > > > All I need is for the installation some binary driver that the Debian 3 R2 > > installer detects my FastTrak 376. > > > > well, if you figure out how to just supply a floppy during setup, post > it here and let me know. There is an option to add a floppy driver > disk, in theory you could do it. I never could figure that out, until I > read the instructions I gave you there. > > I'm not sure if 2.4.18 supported promise but it just wasn't selected in > the .config. anybody know? > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
Hi Nano Nano, thank you for your posting, but I'm an absolute Linux beginner. I have installed only Windows, so I can't compile a new kernel, as I have no Linux avaiable. All I need is for the installation some binary driver that the Debian 3 R2 installer detects my FastTrak 376. Thanx, Danny "Nano Nano" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Thu, Feb 12, 2004 at 03:21:25PM +0100, Danny wrote: > > I have difficulties to install Debian 3 on my MSI K7N2G motherboard with > > Promise FastTrak 376 chip onboard. Standard Install and also 2.4 Kernel > > (BF24) doesn't recognize the harddisk controller. > > > > Unfortunately Promise supports only Suse and RedHat. > > > > Any hints / tips tricks are greatly appreciated. > > I was stumped by this for the longest time but it's cake. > http://ttul.org/~rrsadler/linux-promise/ > Search lists.d.o for promise > > I put my 2.4.24 .config file that will fit on a boot floppy here: > http://home.comcast.net/~40208.nospam/config.bf24-24.gz > > Here are some random tidbits, follow the web page: > > - download bf24 root and rescue floppy > - create 2.4.24 kernel with .config above: make dep bzImage > - mount rescue floppy, replace linux.bin with arch/i386/bzImage > (rename to linux.bin) > - boot from rescue floppy, continue with root floppy > [you'll have to select the steps manually during setup] > - execute shell, mkdir /cdrom, mount cdrom on /cdrom > - configure hostname and network: i had to use static ip for some reason > - install kernel from mounted, /cdrom > - install base system from mounted, /cdrom > - kernel 2.2.20 will be installed, so system won't start on reboot, so > - following the install reboot, boot off rescue floppy, and boot > "rescue /dev/[rootpart]" > - mount rescue floppy > - copy /floppy/linux.bin /boot/vmlinuz-2.4.24-rescue > - rm /vmlinuz, ln -s /boot/vmlinuz-2.4.24-rescue /vmlinuz > - run lilo -- now you can boot off the HD > - install a "real" kernel, now you can boot off Linux and LinuxOld > > enjoy ! > > the process is a lot like having to hit F6 during Windows Setup with > the promise disk, except Linux is Nicer! > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to install Debian with Promise FastTrak 376 chip onboard?
I'm sorry. I couldn't follow the instructions. I'm a linux beginner. Where can I get the Debian drivers for my Promise 376 controller? Thanx, Danny "Greg Folkert" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to install Debian with Promise FastTrak 376 chip onboard?
I have difficulties to install Debian 3 on my MSI K7N2G motherboard with Promise FastTrak 376 chip onboard. Standard Install and also 2.4 Kernel (BF24) doesn't recognize the harddisk controller. Unfortunately Promise supports only Suse and RedHat. Any hints / tips tricks are greatly appreciated. Danny -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Web server with PHP setup & mod-ssl
Thanks for the response. I took the action you suggested -- but I didn't delete the previous /etc/apache/httpd.conf file. Now, instead of showing my site on a Web page, my browser treats the main PHP page as a file download and dumps the file to my desktop. Should I remove apache-ssl, wipe the httpd.conf file, and start over from scratch? Or is there something in the httpd.conf file that I'm missing? I can't find a reference to an SSL module or anything similar. Thanks in advance! I promise to post all solutions. - Danny O'Brien On Jan 29, 2004, at 1:07 PM, Rosenstrauch, David wrote: -Original Message- From:Danny O'Brien [mailto:[EMAIL PROTECTED] Sent:Thursday, January 29, 2004 12:19 PM To:[EMAIL PROTECTED] Subject:Web server with PHP setup & mod-ssl - does "apt-get upgrade" always provide the most secure versions? The reason I ask is: [Rosenstrauch, David] Debian stable is considered the most secure. A distro isn't promoted from testing to stable until it's been thoroughly tested. (See) - Apache 1.3.26 seems ancient -- is this an OK version to run? I have executed apt-get upgrade, and apt.conf is set for "stable." [Rosenstrauch, David] That said, the flip side of that is that there can be a *long* time between releases in stable. The last major release of stable was on 19th of July, 2002. So, yes, the version of Apache in stable is 1.3.26, which is older. But, as the stable distro is considered the most stable, that's the one you should run if you're most concerned about security. Although you certainly could upgrade to the version from testing (1.3.29) if you'd like, you should be aware that testing does not receive security updates in nearly as timely a fashion as stable. (Seehttp://www.debian.org/security/faq#testing) So that might be a bit on the risky side for you, depending on how secure and mission-critical you need this web server to be - also, openssl is up to 0.9.6 "l" -- 0.9.6 "c" also seems ancient. [Rosenstrauch, David] Same answer as Apache. - My previous build ran mod-ssl. However, there is no mod-ssl package in Debian. Has anyone installed mod-ssl under Debian, or is there a better program for this function? TIA - Danny O'Brien [Rosenstrauch, David] There's an apache-ssl package under Debian. Try "apt-get remove apache" followed by "apt-get install apache-ssl". HTH, DR == This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure. ==
Web server with PHP setup & mod-ssl
I'm rebuilding a web server with a home-grown PHP site that allows users to log in securely, to view, upload, and download files. This is my first real foray into Debian. Here's the spec: Kernel2.4.18-bf2.4 Apache1.3.26-0woo openssl0.9.6c-2.wo postgres7.2.1-2wood php4.1.2-6wood My questions: - does "apt-get upgrade" always provide the most secure versions? The reason I ask is: - Apache 1.3.26 seems ancient -- is this an OK version to run? I have executed apt-get upgrade, and apt.conf is set for "stable." - also, openssl is up to 0.9.6 "l" -- 0.9.6 "c" also seems ancient. - My previous build ran mod-ssl. However, there is no mod-ssl package in Debian. Has anyone installed mod-ssl under Debian, or is there a better program for this function? TIA - Danny O'Brien
VA FullOn 2200 onboard ethernet and Debian -- FIXED
Two weeks ago, I originally posted an issue whereby Debian Linux "woody" running kernel 2.4.18-bf2.4 would not recognize the on-board Intel Ethernet Express Pro100. Thanks to all who responded. Here's the simple fix, provided by Peter C. Norton <[EMAIL PROTECTED]>: echo "alias eth0 eepro100" >> /etc/modutils/local update-modules I entered this command, re-booted, and all is well. Peter Norton explains it very well below. Thanks again, - Danny O'Brien On Jan 23, 2004, at 12:00 PM, [EMAIL PROTECTED] wrote: Date: Fri, 23 Jan 2004 07:25:28 -0800 From: "Peter C. Norton" <[EMAIL PROTECTED]> Subject: Re: [nylug-talk] VA 2200/Debian installation challenges To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii On Fri, Jan 23, 2004 at 07:13:25AM -0800, Dale Harris wrote: No. Should work. Just might want to make sure the kernel had the e100 driver configured. Actually eepro100 should work, too, but I believe the e100 has had less problems. Agreed - intel did a good job with the e100 driver. But I'm not sure its in woody by default. From a system I've got that started out as woody, its the 2.2.20 kernel by default, and the 2.4 kernel as an option. Its not 100% that the e100 driver will be in the 2.4 and its definetely not in the 2.2.x kernels. So to follow on to what Dale is saying since its debian, one way to specify your driver if its not done automagically for you is to do the following: echo "alias eth0 eepro100" >> /etc/modutils/local update-modules This tells the module loader that when something is looking for "eth0" that its really looking for the eepro100 driver. -Peter -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: VA box network install challenge
Thanks for your helpful response. Here's some output from the different troubleshooting attempts. - /etc/init.d/networking stop -- resulted in this: "SIOCDELRT: No such device" - running "mii-tool" as root resulted in this: "No MII interfaces found" - bringing up interface manually with ifup eth0 gave this: "interface already configured" - I rebooted the box, paying careful attention to the bootup output, and saw "SIOCDBCAST: No such device" flash by. So although the Debian installer saw the card and installed the eepro100 driver, some part of the operating system appears not to see the network hardware. Any other ideas? I'm thinking that Debian is not happy with the VA/Intel ethernet chip set. At this point, I'm going to try installing a 3Com PCI network card in the box, to see if the OS sees that. On Jan 23, 2004, at 11:24 AM, Kent West wrote: I suspect you're running a 2.2 kernel ("uname -a" will show you the kernel version you have), and it may be having trouble with that chipset. What does "lspci" say about the ethernet stuff? You might want to upgrade to a 2.4 kernel. Try "apt-get search kernel-image-2.4" to see the different 2.4 kernels available on your CD, then install one with a command like "apt-get install kernel-image-2.4.22-1-k7", or whatever version matches your CPU(s). Kernel ver. is 2.4.18-bf2.4 #1. A friend replied that he also had trouble with getting Linux to recognize the built-in Ethernet in his VA FullOn box, and his solution was to install a separate NIC. I wonder if that's why VA originally insisted on their version of RH... Unless there are any better ideas, my next step is to install a good old 3Com 3C905C-TXM card. The 3Com site is sketchy on drivers -- Debian is not listed among the different Linux flavors -- so I'd appreciate any helpful installation remarks or pointers to drivers/support sites. TIA, - Danny O'Brien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
VA FullOn 2200 network install challenges
Hello -- new to the list and grateful it's here. I hope that this is an appropriate posting. I'm attempting to rebuild a VA FullOn 2200 web server with the Debian 3.0r1 "woody" release. To install, I pulled the machine off the DMZ, then returned it to the DMZ after installation was complete. Although the installation was successful and the installer did see the network card (an onboard EtherExpress Pro 100, which worked perfectly under RH Linux) and I was allowed to assign IP, etc., now that I've plugged the box into its rightful place, it's not on the network. No ping, no nothing. I've verified the network light on the port, good cabling and hub, so it's not hardware -- the box ran fine with all same previously. I've also compared the /etc/network/interfaces file with the file on another server on the DMZ and both are identical (except for unique IP). I'm pretty sure that I chose the correct network card driver -- there are two "eepro" driver options in the Debian installer, and the installer rejected the first option but accepted the second, impying that the installer did see the NIC. I assigned IP appropriately at installation. However, although the "interfaces" file displays the proper IP configuration for eth0, "ifconfig -a" shows no listing at all for eth0 -- it just shows the "lo" listing. When installing Debian, does the box have to be physically connected to the network upon which it will reside? This sounds ridiculous, but I had to ask. Any other ideas would be greatly appreciated. -- Danny O'Brien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
execution of shell scripts from cdrom
Dear community, I wanted to execute a shell script from /cdrom and it fails with the following message: bash: ./scriptname: Permission denied. The script is executable and is run as root, so should work. Copying the script to ~ works but i really need to run it from /cdrom. Does this have anything to do with ro mounting of the cdrom (removing it from fstab did not help as the write protection is recognized and it is still mounted ro). What's the problem here ? Thanks. ---Danny LathouwersInterfaculty Reactor InstituteDelft University of TechnologyMekelweg 15, 2629 JB DelftThe Netherlands Email: [EMAIL PROTECTED]Tel: +31 15 2781192Fax: +31 15 2786422
soundblaster PCI 128 driver
Dear community, I've got a soundblaster audio PCI 128 card. It should be supported but the names of the device drivers did not appear to include this particular name. I also reviewed this list and saw that people had used the es1370 or alsa driver. Perhaps someone can shed some light on what device driver to actually use. Thanks. ---Danny LathouwersInterfaculty Reactor InstituteDelft University of TechnologyMekelweg 15, 2629 JB DelftThe Netherlands Email: [EMAIL PROTECTED]Tel: +31 15 2781192Fax: +31 15 2786422
fsplit
Dear community, Does anyone know whether the fsplit utility is packaged? (fsplit splits binary or source files in more likable pieces). Thanks. ---Danny LathouwersInterfaculty Reactor InstituteDelft University of TechnologyMekelweg 15, 2629 JB DelftThe Netherlands Email: [EMAIL PROTECTED]Tel: +31 15 2781192Fax: +31 15 2786422
OTP
There is (otp) for generating one-time passwords. Is there a debian package for implementing OTP? Thanks. Danny Heap [EMAIL PROTECTED]
Re: SB Live & kernel sound
On Thu, 07 Sep 2000, Michael Soulier wrote: > On Thu, 7 Sep 2000, Jonathan Wheelhouse wrote: > > > Some people say to install from unstable the debs for ALSA and then > > run alsaconf. A couple of questions - I could change my sources to > > point at unstable but I don't want to upgrade to woody so how do I get > > just the debs for ALSA without upgrading? > > I'm using kernel 2.2.17, and I have a SB Live! Value card. I just > grabbed the Creative Labs module source, built it, and modprobed it > in. Done. > You could also build a new 2.2.17 and either build support into your kernel or build it as module. The sb-live is right there, in the sound section. Install kernel-source-2.2.17_blahblah_.deb, unzip/tar it to /usr/src, go into the extracted main directory and run 'make menuconfig'. You might need some extra packages to do so, make, binutils, bin86, ncurses-dev come to mind. Then you choose your hardware and for stuff like sound you just compile it straight away to one big happy kernel (option: X) by 'make dep clean install' after the configuration is done. Or you can build it as module (option M in the menuconfig) and run 'make modules' and 'make modules_install' after kernel compilation and installation is done. This is just the "linux way", its not Debian specific. If you know which hardware drivers you need, building a kernel isn't hard at all and you can get rid of many features that only eat memory because you don't use them. For example, I use a scsi hd, cdrom, cdrw and floppydrive, so why would I have IDE drivers in my kernel... thats why I ditch everything I don't need. Personally, I prefer to have a monolithic kernel that exactly supports my box and nothing more, but opinions about this differ. Now I'm not saying you should compile all your software (I sure don't), but brewing a custom kernel is something every linux user can and should learn IMHO. Besides, its fun. BTW: It's likely you don't need to enter IRQ or IO values for your soundcard; if you do, building as a module is preferred, so you can tweak it with modprobe. Also I *think* the ALSA system is only for modules, not for built-in sound support but I'm not very knowledgable about alsa. I would not recommend using the woody alsa debs on a potato system. Dan
Re: KDE debs
Hi everyone, The kde.tdyc.com Woody tree for kde2 has been emptied, I'm sure of it because I used to apt kde2 from there. I happened to have been reinstalling my Woody box from scratch yesterday (the 6th), starting from a couple of potato disks. All went well, but when it came to installing kde2 binaries I had to use the potato branch instead. One would expect it to be the same packages, but I doubt if everything is cleanly organized at the moment; at least the kde2 install wasn't good, it froze on startup with its dcopserver not starting. I had to revert to kde1.1.2 because I couldn't solve it. I did also compile kde2 from source a week or two ago. You need to compile qt2.2 first. It worked but wasn't very stable; at least I could use konqueror and koffice from within kde1.1.2. Binary deb packages are of course much easier. Anyway, I hope that the kde2 debs will be added to the normal debian mirrors soon and hopefully they'll recompile them and check their cooperation with the normal Debian X scripts. Debian is the only distro, I'm afraid to say, that gave me and for some reason is continuing to give me troubles with kde. I certainly hope the most recent and fully incomprehensible RMS rants against the kde project (*after* the GPL'ing of qt was announced - see yesterday's slashdot) have nothing to do with this, otherwise I just might switch to Slackware or freebsd. If anyone knows anything more about this I'd be more than happy to hear about it. Best regards, Danny
gcl 2.2.1-6 "truncate" broken
We recently installed gcl 2.2.1-6 on our intel machines. The "truncate" function is broken, as shown by the example below (from the gclinfo page). Should we downgrade to a version that works, or what? Thanks for any suggestions. Danny Heap gibbs.med.utoronto.ca - Below I run an example from the gcl info pages, but the resulting output doesn't resemble that in the info pages. - $ gcl GCL (GNU Common Lisp) Version(2.2.1) Fri Sep 24 14:42:27 EDT 1999 Licensed under GNU Public Library License Contains Enhancements by W. Schelter >(dolist (n '(2.6 2.5 2.4 0.7 0.3 -0.3 -0.7 -2.4 -2.5 -2.6)) (format t "~&~4,[EMAIL PROTECTED] ~2,' D ~2,' D ~2,' D ~2,' D" n (floor n) (ceiling n) (truncate n) (round n))) +2.6 0 3 0 0 +2.5 0 3 0 0 +2.4 0 3 0 0 +0.7 0 1 0 0 +0.3 0 1 0 0 -0.3 -1 0 0 0 -0.7 -1 0 0 0 -2.4 -1 -2 0 0 -2.5 -1 -2 0 0 -2.6 -1 -2 0 0 NIL > -
Re: Filesystem layout and hi everybody
Hi, this might be a bit off-topic, but I've read in several manuals that a swap over 128 MB doesn't make much sense, but I never understood why. Can anyone enlight me on that? I'm using 128 MB of RAM and have a 128 MB swap, which is fine, but pretty soon I'll be putting together a server box which will hold 512 MB RAM and now I'm kinda wondering what to do with the swap size. Of course it doesn't matter to add a few hundred megs to it, but is it useful? -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Burn in an ethernet device
Hi Adrian, On Tue, 05 Sep 2000, Adrian Nims wrote: > I recompiled the kernel, I introduced an "append" line in lilo.conf in > order to burn in an ethernet device. At reboot, the sistem (debian) see the > ethernet board as eth0, everything seems OK but after boot, when i say > "ifconfig" it appears to me only the loopback device. >What must I do in order to make this ethernet device running and give it > an IP address ? You shouldn't use append unless you need to get a second eth card working (and even so, I'm pretty sure it's only needed for pre-2.2.x kernels). The eth0 should than become the card with the lowest hardware address, the other would become eth1. As I said, you don't need this. Just remove the append from lilo.conf, run lilo (!!) and add your eth0 with its IP number and the like in /etc/network/interfaces. Then restart the networking daemon; /etc/init.d/networking stop|start You can also experiment by using the ifconfig program on the command line. Debian 2.2 differs a bit from 2.1, the ifconfig is a little different also. Check the man page. Good luck, -- Danny Pansters [EMAIL PROTECTED]
Re: strange /var/log/messages
On Mon, 04 Sep 2000, William Jensen wrote: > Anyone have any idea what this is: > > Sep 3 17:17:30 stimpy -- MARK -- > Sep 3 17:37:30 stimpy -- MARK -- > Sep 3 17:57:30 stimpy -- MARK -- > Sep 3 18:17:30 stimpy -- MARK -- > Sep 3 18:37:30 stimpy -- MARK -- > > I see those all day long. -- I have those too, I don't believe they mean anything bad is going on, but I also would like to know what exactly this is. I always thought it were kernel messages relating to memory swapping or network checks or something. Thanks, Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Help with Installation...
Sorry there, I didn't read everything, you've already tried that. -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Help with Installation...
Did you try to run xf86config (the console app), I've sometimes been having trouble getting my ps2 mouse to work w/ xf86setup while after getting at least that part straight with xf86config it appeared as "already set before" in xf86setup which allowed me to finish my setup. btw. xf86config isnt as hard as it seems, give it a go. good luck, -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: stupid question
On Sun, 03 Sep 2000, Dave Sherohman wrote: > If going back and forth between 'in X' and 'at a text console, but with X > still running offscreen' is good enough for you, try Ctrl-Alt-Fn (for n = > 1-6)i and Alt-F7 to get back to X. If you feel the need to go between > 'in X' and 'X not running', then getting rid of *dm is appropriate (though > you could also use `/etc/init.d/*dm stop`, do your console stuff, and > `/etc/init.d/*dm start`). Exactly, then you can kill your xdm and your X and look into the problem at the first place. (then apt-get remove xdm ;-) -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: I hosed my network
"No route to host" seems kinda weird, but since you can ping I don't think theres anything wrong with your hardware. Anyway, I like it when people RTFM, maybe I can be of some help. loki:/etc# netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 204.145.251.52 0.0.0.0 255.255.255.255 UH0 0 0 ppp0 127.0.0.1 0.0.0.0 255.255.255.255 UH0 0 0 lo 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 204.145.251.52 0.0.0.0 UG0 0 0 ppp0 (I also don't like the double lo appearance in the other machines routing) I'm missing an important piece of info: was your ppp0 interface up when trying to ftp between your two boxes and does it work ok, do you have Internet connectivity? It looks like the ppp is wrong. With a 0.0.0.0 netmask you don't set any network bits for the interface, this might explain why your ping -b did something (also note the longer ping time when pinging themselves) Do you want to ping broadcast? Then -b ^^ PING 192.168.1.0 (192.168.1.0) from 192.168.1.2 : 56 data bytes 64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=0.5 ms 64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=0.4 ms 64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=0.4 ms 64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=0.4 ms Note that .1 doesnt respond (it should also, al least mine does with a "DUP!" note). Does your /etc/host.conf have order bind,hosts (should be hosts,bind unless you're really doing exotic things on purpose) in it? Are you running bind yourself? (don't) Anyway, you should be using params like these: .1 has an eth .1, no default gateway, the ppp interface should have its gateway set to its Internet IP address (dynamically if needed) or (better) to one of your ISP's router IPs. It should have the .2 box in its /etc/hosts file and it should have your ISPs DNS numbers in its /etc/resolv.conf. Ask them for the netmask you should use and then use it (or x.x.255.255 or so if you have no further info) on the ppp interface. Use the default entries for the lo device on both boxes, also leave the IP spoofing part in place in /etc/init.d/networking. Make sure /etc/host.allow and .deny are set up the way you want it, enable .2 to do stuff and keep the rest out. Now .2 might want to have .1 as its gateway, that way (if you enable ip forwarding and masquerading on .1) you can use .1's Internet connection (I presume this is the final goal?). Don't use .1's Internet IP number anywhere in your setup, instead for .2, the Internet connectivity should be provided by .1 You can (and should unless your .1 runs bind) enter your ISP's nameservers in /etc/resolv.conf Don't change the /etc/init.d/networking script too easily, instead use /etc/network/interfaces and the like, and restart the daemon everytime by # /etc/init.d/networking stop # /etc/init.d/networking start (I rather not use reload). If you'll do ipchains rules for your local net, /etc/init.d/networking might be a good place for that. I think it's easier to check the setups once again than to find the exact problem from diagnostic output. I don't believe you have a hardware problem and certainly not an IRQ problem!! The networking HOWTO will likely be needed. Good luck, -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
gtk/libpixmap?
Friday I decided to refsck my filesystems and start clean (every year or two seems a good time to clean my accumulated cruft out). I'm now plagued with gtk warnings like this one for many of my gtk programs: Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so" What do I need to do to fix this ? I'm running Woody (and have been for as long as woody has been around) and am not at all averse to compiling things to fix it. I thought it was a gnome-libs library...however, I'm not sure of that, since programs like gtk-licq are complainging also. If it takes just recompiling gtk+-1.2.8 to fix it...that's fine too, however, I'm trying to break myself of accumulating non-dpkg installed stuff on my system (see cruft above). Thanks Danny Barron
Re: Strange KDE2 Language Problem after recent update, help pls.
I run kde2 from the deb packages provided at kde.tdyc.com, I use apt to update them, kde2 works well (bit slow though). Did you try to dpkg --purge any international kde packages (the ones that are about other charsets/languages)? I think something might be broken there (?) -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: linux telephony?
This might have been said earlier in this thread (in which case I apologise), but I think there is a HOWTO on Linux Telephony.. $ cd /usr/doc/HOWTO/en-txt $ zless LINUX_TELEPHONY_OR_THE_LIKE.gz I don't think it's trivial though. Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: What are the Essential Packages?
On Sat, 02 Sep 2000, I. Tura wrote: > The fastest way I use is: > > > Download the file /dists/stable/main/binary-i386*/Packages.gz > > *Or your architecture > > Uncompress it and search there the packages you'll need. keywords: > sawmill > or wmaker for the window managers, for example. You'll need the packages > that the window manager depends on. You also need the file (bon't remember > location) base2.2.tgz for the base. > > You'll need the floppies in /dists/stable/main/disks-i386/ > > > Note: the name of the base file and the locations can be inaccurate, but > near from they. > > > Don't know if I'm missing something... > Hmm, well the first thing I'd want to do is compile a custom kernel. I wouldn't go for the X stuff at first but rather install the (minimal) base system, then joe (favorite editor) and mc to finish setup and then (although through apt preferably) I install binutils, ncurses, gcc and stuff needed to compile a kernel from menuconfig to get all hardware working and set finish up. If it boots well again and stufgf works, I install whatever i need through apt including X (I happen to prefer kde so I'd apt kde2) Of course this is just my preference, maybe here's an interesting discussion.. how to initially set up a debian system. In my case I use a cable modem which basically means I can get away with two disks and a lot of apting... anyhow I think it makes sense to initially narrow down your packages installs as much as possible. Greetings to everyone, Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: Please remove me from the subscription list......
On Sat, 02 Sep 2000, Pollywog wrote: > On 01-Sep-2000 [EMAIL PROTECTED] wrote: > > Please remove me from the subscription list.Thank > > [EMAIL PROTECTED] > > U Just follow the instructions below, which appear at the bottom > of all posts. > > > -- > > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < > > /dev/null LOL -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: FTP and Firewall
On Fri, 01 Sep 2000, Christoph Simon wrote: > > Hi all, > > > > I've three machines behind a firewall provided by IP Masquerading (all > > machines running Potato). One of this machines is a web server updated > > by Windows Users by FTP. > > > > The problem is that conections provided inside a IP Masquerading > > environment can't transfer files. But in your homes (using a real IP > > connection) he can. > > > > Any hints? > > Did you consider running a proxy? BTW ftp through IP_masq should work. > > Christoph Simon > [EMAIL PROTECTED] I happen to have the same problem. I have a cable connection and from my gateway box running potato I can't seem to get a decent FTP transfer from my workstation box running woody and either ftpd or wu-ftpd. I run ip forwarding and masquerading on the gateway box. The local net is masqueraded as the "outer" IP# of the box connected to the cable ISP. All works well, I have the box load the masq modules for ftp and the like (even icq) on start-up; all but ftp'ing to my workstation from my gateway box. Same problem. Que? Anyone? Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: sound blaster live
I'm not sure about SB Live, but shouldn't it also work as es1371 just like SB128? or does it have a different chipset? -- Danny Pansters [EMAIL PROTECTED] www.ricin.com
Re: howto recreate /dev/null ?
On Fri, 01 Sep 2000, Will Trillich wrote: > On Thu, Aug 31, 2000 at 08:58:43PM -0700, Jeremiah Hunter Savage wrote: > > Okay, > > > > This is definitely a newbie question. I keep on reading about sending > > things to /dev/null. So I thought I would give a try: > > > > mv file /dev/null > > > > Yes I was root. > > So how do I recreate /dev/null? > > hmm. i'm a second-iteration newbie, so i may be off base. > i'll give it a try, anyhow. > > are you saying you DO NOT ALREADY have a 'null' entry under > the '/dev' directory? it's hard for me to believe. if you > truly don't have any such item, i'm not sure how to create > it; but it shoula been created when you formatted your > linux/unix system... [very big albeit interesting snip] No he's saying he replaced his /dev/null with that file! The original post made me laugh, no comments on this one ;-) Greetz, Dan -- Danny Pansters [EMAIL PROTECTED] www.ricin.com