DNS resolver issue
Hi all, Please could someone help me with what I am doing wrong ? I am running example.local domain on my interface(192.168.2.1) (bind9) The domain is resolving fine. However I want to use 1.1.1.1 public DNS server for looking up other domains (external domains) Hence I have put both servers in /etc/resolv.conf ``` nameserver 1.1.1.1 nameserver 192.168.2.1 search example.local``` However dig stops after it gets a null result from 1.1.1.1 and does not proceed to 192.168.2.1 to ask for server.example.local i.e ``` $ dig server.example.local ; <<>> DiG 9.17.21-1-Debian <<>> server.example.local ;; global options: +cmd ;; Got answer: ;; WARNING: .local is reserved for Multicast DNS ;; You are currently testing what happens when an mDNS query is leaked to DNS ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11268 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;server.example.local. IN A ;; AUTHORITY SECTION: . 86400 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2022012400 1800 900 604800 86400 ;; Query time: 103 msec ;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP) ;; WHEN: Mon Jan 24 10:03:50 GMT 2022 ;; MSG SIZE rcvd: 124 ``` WHEREAS if I switch the resolv.conf to have my DNS first (and then 1.1.1.1) , the local resolution works whereas external resolution does not work ``` nameserver 192.168.2.1 nameserver 1.1.1.1 search example.local``` $ dig +short server.example.local 192.168.2.2 Now, isnt the lookup supposed to fall back to next server if first one doesnt have an answer ? How does multiple DNS servers entry work in resolv.conf ? My nsswitch.conf is : hosts: files dns [NOTFOUND=merge] Please help. Regards Bhasker
Networkmanager hell !
Hi, I recently compiled the wl driver for my BCM4331 and the driver loads fine. Networkmanager lists wifi network but does not connect ! (nm-applet shows a single dot and then keeps revolving around until it fails) However, 1. I stop Networkmanager and wpa_supplicant 2. I generate a simple config using wpa_passphrase 3. connect via wpa_supplicant -Dwext -cconfig -iwlp4s0 and it works ! I have tried to google through as much as possible to understand why wpa_supplicant does not connect under NetworkManager but works fine when run stand-alone ! I would appreciate if someone can tell me what is happening. I can send the logs if needed. Is there a way to debug networkmanager ? All that I can do by running network-manager from commandline in foreground is wpa_supplicant[28827]: wlp4s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="myssid" auth_failures=2 duration=20 reason=CONN_FAILED Before someone says that this is password issue, i am pretty sure I am typing the password correct and have confirmed it by looking into the system-connections folder for that connection. If I use another USB adapter, networkmanager is able to connecto the same wifi. Please ! I am going mad here ! There is no good info anywhere to debug wpa_supplicant working under networkmanager (OR) to dump the config generated by networkmanager -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Allow only selected USB
Hi all, I know it is very useful that linux auto-detects a USB device when plugged in. However I am trying to build a server which employs deny first rule. That is, I don't want linux kernel to detect any USB device even if plugged in except those listed with a Vendor/device ID in a file (perhaps stored somewhere securely in the server). Is this possible ? I tried to skim though internet but could not find any useful information except some pages reporting how to disable USB storage. Please could someone help me with some pointers ? -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Re: Allow only selected USB
Fantastic ! thanks a ton ! thanks ! exactly what i was looking for On Tue, Feb 9, 2021 at 7:43 PM wrote: > Hi, > > 9 févr. 2021, 19:44 de mailingl...@darac.org.uk: > > > Certainly. > > https://www.kernel.org/doc/html/latest/usb/authorization.html > > > + https://usbguard.github.io based on it. > > Best regards, > l0f4r0 > >
cracking sound from left channel
Hi, I am on debian bullseye x86_64 (K5.6.0-rc6). 03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor I have windows booting on another partition. After windows boots, and then I reboot into linux, the sound is fine. All clear on both channels. But once i reboot into linux or suspend/resume, I get a cracking sound along with audio on the left channel. I am not sure how to troubleshoot. Is this a known issue ? Please could someone point me in the right direction on fix or how to troubleshoot ? -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Re: cracking sound from left channel
Thanks Dan, The audio cracking comes up only after a suspend resume or reboot when done on its own If I boot into windows, reboot the system (without switchoff) into linux, the sound is fine. The next time i reboot into linux the issue comes back. The sound is as if the speaker paper of an old speaker is torn. The fluttering sound when there is high bass on the headphones. The sound is clear and fine when on windows and when on linux when immediately booted after windows. This to my limited knowledge feels like windows writes something to the config registers or downloads a firmware which makes sound card work fine but then when cold booted into linux, linux is missing to do something. ... may be I am wrong. On 27/03/2020 13:37, Dan Ritter wrote: > Bhasker C V wrote: >> Hi, >> >> ??I am on debian bullseye x86_64 (K5.6.0-rc6). >> >> ??03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] >> Raven/Raven2/FireFlight/Renoir Audio Processor >> >> I have windows booting on another partition. After windows boots, and >> then I reboot into linux, the sound is fine. All clear on both channels. >> But once i reboot into linux or suspend/resume, I get a cracking sound >> along with audio on the left channel. I am not sure how to troubleshoot. >> Is this a known issue ? Please could someone point me in the right >> direction on fix or how to troubleshoot ? > Does this happen with every playback format and program, or just > some? > > Check all mixer settings: it's possible that the motherboard's > audio amplifier is being overdriven, or that there are inputs > which should be muted but aren't. > > Can you describe the sound more specifically? > > -dsr- -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Re: cracking sound from left channel
Dear Dan, I came across a website which said to use the index parameter Hence I create this in /etc/modprobe.d/snd_amd.conf with content options snd_hda_intel power_save=1 index=1,0 The sound is infintely better now and there is no more fluttering sound and no leaking of right channel into left which had caused the distructive interference like audio. Thanks On 3/28/20, Dan Ritter wrote: > Bhasker C V wrote: >> Thanks Dan, >> The audio cracking comes up only after a suspend resume or reboot when >> done on its own >> If I boot into windows, reboot the system (without switchoff) into >> linux, the sound is fine. The next time i reboot into linux the issue >> comes back. >> >> The sound is as if the speaker paper of an old speaker is torn. The >> fluttering sound when there is high bass on the headphones. The sound is >> clear >> and fine when on windows and when on linux when immediately booted after >> windows. >> >> This to my limited knowledge feels like windows writes something to the >> config registers or downloads a firmware which makes sound card work >> fine but then when cold booted into linux, linux is missing to do >> something. ... may be I am wrong. > > I would guess that Windows is setting internal mixer parameters > differently. > > Try killing pulseaudio, running alsamixer, and seeing if you can > change the behavior with any of the available switches or > internal mutes. > > -dsr- >
Re: cracking sound from left channel
The problem however comes back when i suspend and resume. I have a written a systemd thingy to remove the module and reload it during resume and it fixes the problem for now ... Still no joy. On 3/29/20, Bhasker C V wrote: > Dear Dan, > > I came across a website which said to use the index parameter > Hence I create this in /etc/modprobe.d/snd_amd.conf > with content > > options snd_hda_intel power_save=1 index=1,0 > > The sound is infintely better now and there is no more fluttering > sound and no leaking of right channel into left which had caused the > distructive interference like audio. > Thanks > > On 3/28/20, Dan Ritter wrote: >> Bhasker C V wrote: >>> Thanks Dan, >>> The audio cracking comes up only after a suspend resume or reboot when >>> done on its own >>> If I boot into windows, reboot the system (without switchoff) into >>> linux, the sound is fine. The next time i reboot into linux the issue >>> comes back. >>> >>> The sound is as if the speaker paper of an old speaker is torn. The >>> fluttering sound when there is high bass on the headphones. The sound is >>> clear >>> and fine when on windows and when on linux when immediately booted after >>> windows. >>> >>> This to my limited knowledge feels like windows writes something to the >>> config registers or downloads a firmware which makes sound card work >>> fine but then when cold booted into linux, linux is missing to do >>> something. ... may be I am wrong. >> >> I would guess that Windows is setting internal mixer parameters >> differently. >> >> Try killing pulseaudio, running alsamixer, and seeing if you can >> change the behavior with any of the available switches or >> internal mutes. >> >> -dsr- >> >
xscreensaver does not lock
Hi, I am at a loss to understand why xscreensaver does not work anymore. I am on bullseye. I have two systems the other, however, works fine and locks. xscreensaver does not seem to have any debug facility from what I could read from the man pages. My config is attached. xscreensaver never gets activated although the daemon is running in the background. xscreensaver binary itself is installed as setuid-root. Please help ! thanks. PS: I tried to compile from source so that I can introduce debugs. This went in vain since there are too many dependencies and I was not successful in compiling. -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349 # XScreenSaver Preferences File # Written by xscreensaver-demo 5.42 for bcv on Mon Mar 30 17:56:38 2020. # https://www.jwz.org/xscreensaver/ timeout:0:00:30 cycle: 0:10:00 lock: True lockTimeout:0:00:00 passwdTimeout: 0:00:30 visualID: default installColormap:True verbose:False timestamp: True splash: True splashDuration: 0:00:05 demoCommand:xscreensaver-demo prefsCommand: xscreensaver-demo -prefs nice: 10 memoryLimit:0 fade: True unfade: False fadeSeconds:0:00:03 fadeTicks: 20 captureStderr: True ignoreUninstalledPrograms:False font: *-medium-r-*-140-*-m-* dpmsEnabled:False dpmsQuickOff: False dpmsStandby:2:00:00 dpmsSuspend:2:00:00 dpmsOff:4:00:00 grabDesktopImages: False grabVideoFrames:False chooseRandomImages: False imageDirectory: mode: blank selected: -1 textMode: url textLiteral:XScreenSaver textFile: textProgram:fortune textURL:https://planet.debian.org/rss20.xml programs: \ maze -root \n\ GL: superquadrics -root \n\ attraction -root\n\ blitspin -root \n\ greynetic -root \n\ helix -root \n\ hopalong -root \n\ imsmap -root\n\ - noseguy -root \n\ - pyro -root \n\ qix -root \n\ - rocks -root \n\ rorschach -root \n\ decayscreen -root \n\ flame -root \n\ halo -root \n\ slidescreen -root \n\ pedal -root \n\ bouboule -root \n\ - braid -root \n\ coral -root \n\ deco -root \n\ drift -root \n\ - fadeplot -root \n\ galaxy -root\n\ goop -root \n\ grav -root \n\ ifs -root \n\ unicode -root \n\ GL: jigsaw -root\n\ julia -root \n\ - kaleidescope -root \n\ GL: moebius -root \n\ moire -root \n\ GL: morph3d -root \n\ mountain -root \n\ munch -root \n\ penrose -root \n\ GL: pipes -
Security issue ... please could someone help !!!
Hi, Attached is something I found. I see that cryptsetup --key-file arguement uses only first 32 bytes of the file and anything beyond is unused. I am on debian bullseye $ cryptsetup --version cryptsetup 2.3.0 $ Following is my test $ cat b #!/bin/bash #create a file dd if=/dev/zero of=./A bs=1 count=1 seek=50M #create a key dd if=/dev/urandom of=./key1 bs=1024 count=1 #create a plain dm-mapped crypt device with that key cryptsetup create dev1 ./A --key-file ./key1 mkfs.ext4 /dev/mapper/dev1 cryptsetup remove dev1 #Now that all is cleaned lets play with key again dd if=./key1 of=./key2 bs=512 count=1 #We create a key half the size of the original key cryptsetup create dev1 ./A --key-file ./key2 #check if the filesystem is the same ... if it is then there is a trouble file -sL /dev/mapper/dev1 $ sudo ./b 1+0 records in 1+0 records out 1 byte copied, 0.000141476 s, 7.1 kB/s 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.000126398 s, 8.1 MB/s mke2fs 1.45.6 (20-Mar-2020) Creating filesystem with 51200 1k blocks and 12824 inodes Filesystem UUID: f667264a-5556-47fa-aafa-f236cc9f345a Superblock backups stored on blocks: 8193, 24577, 40961 Allocating group tables: done Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done 1+0 records in 1+0 records out 512 bytes copied, 6.4401e-05 s, 8.0 MB/s /dev/mapper/dev1: Linux rev 1.0 ext4 filesystem data, UUID=f667264a-5556-47fa-aafa-f236cc9f345a (extents) (64bit) (large files) (huge files) $ I kept digging down and saw that anything below 32 bytes is not accepted (by cryptsetup --key-file option) but anything above 32 bytes is discarded. Does this mean that cryptsetup plain with --key-file uses only 32 bytes ? Am I doing anything wrong ? I dont want to use passphrases and would like to get the keys from randomly generated key file. If only 32 bytes are used, it is (in my opinion) not so much secure isnt it ? -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Bluetooth audio periodic disconnect
Hi all, I am on bullseye. I have tried and tested this with many headphones When on bluetooth the audio gets periodically disconnected and re-connects to audio after 5 seconds. During the time the bluetooth per-say does not get disconnected but just the audio stops and then starts again in 5 seconds. I have already set laptop-mode tools to blacklist usb power management for my usb adapter. There are no issues with bluetooth lag or connection issues. My headphones connect fine and work fine except for the intermittent disconnects. Please could someone help me fix this ? Regards Bhasker C V
Cups preserve job files
Hi, I am on bulls-eye. For the purpose of history I want to preserve the job files (not just the job list) I understand that cups has PreserveJobFiles which tells the job to be preserved. I cannot find out where the job files are preserved and also cannot find out an option to control how long the job files are preserved. I want to also change the location of the jobfiles being preserved to an encrypted path. Could someone help me with these please ? thanks -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
commit=value in fstab is ignored
Hi, I have this entry in fstab /dev/mapper/vg0-opt /opt btrfs rw,discard,relatime,commit=120 0 0 but after a reboot I see /dev/mapper/vg0-opt on /opt type btrfs (rw,relatime,discard,space_cache, *commit=360*,subvolid=5,subvol=/) Am I missing something? is it not sufficient? to give commit=360 in the fstab line ? Can someone help please ... $ uname -r 4.19.0-bcv+ $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux testing (buster) Release:testing Codename: buster
recover old files after key deprecations in openssl3
Hi, Could someone help me please on how do I go about migrating data of mine from old SSL encryption For instance OPENSSL 1.1 (on a old system) $ echo hai | openssl bf-cbc -md md5 > hello.txt and then in OPENSSL 3 $ cat hello.txt | openssl bf-cbc -md md5 -d -provider legacy enter BF-CBC decryption password: *** WARNING : deprecated key derivation used. Using -iter or -pbkdf2 would be better. EVP_BytesToKey failed 40D7C740377F:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:373:Global default library context, Algorithm (MD5 : 100), Properties () 40D7C740377F:error:0386:digital envelope routines:evp_md_init_internal:initialization error:../crypto/evp/digest.c:252: Is there anything else missing other than -provider legacy for decrypting such files ? I am guessing the MD5 is not compatible with legacy provider. I have tried fips, base, legacy -- Bhasker C V Secure Mails:http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Re: recover old files after key deprecations in openssl3
Thanks Dan, i did that anyway. I compiled 1.1 and decrypted and re-encrypted them. My data is back. I didnt know that there is such backward compatibility issues with 3.x On Fri, Oct 28, 2022 at 12:16 PM Dan Ritter wrote: > Bhasker C V wrote: > > Hi, > > > > > > Could someone help me please on how do I go about migrating data of mine > > from old SSL encryption > > > > For instance > > > > > > OPENSSL 1.1 (on a old system) > > > > $ echo hai | openssl bf-cbc -md md5 > hello.txt > > > > and then in > > > > OPENSSL 3 > > > > $ cat hello.txt | openssl bf-cbc -md md5 -d -provider legacy > > enter BF-CBC decryption password: > > *** WARNING : deprecated key derivation used. > > Using -iter or -pbkdf2 would be better. > > EVP_BytesToKey failed > > 40D7C740377F:error:0308010C:digital envelope > routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:373:Global > > default library context, Algorithm (MD5 : 100), Properties () > > 40D7C740377F:error:0386:digital envelope > > routines:evp_md_init_internal:initialization > > error:../crypto/evp/digest.c:252: > > > > > > Is there anything else missing other than -provider legacy for decrypting > > such files ? I am guessing the MD5 is not compatible with legacy > provider. > > > > I have tried fips, base, legacy > > I recommend two things: > > First, use openssl 1.1 to decrypt your files. Once you have the > plaintext, you can re-encrypt them as you see fit. > > Second, don't use openssl 3 yet. It's still the season of > frequent CVEs. > > -dsr- >
XFCE and auto-raise too fast
Hi, Attached is screenshot of the settings I have used. The auto-raise interval on the other hand is not honouring the setting. No matter what the raise interval is configued as, the windows auto-raise in 0.5 seconds. Please could someone tell me if I am missing something ? -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Re: XFCE and auto-raise too fast
Thanks for the reply. Replies inline On Mon, Nov 18, 2019 at 7:41 PM Cindy Sue Causey wrote: > On 11/18/19, Bhasker C V wrote: > > > > Attached is screenshot of the settings I have used. > > > > The auto-raise interval on the other hand is not honouring the > > setting. No matter what the raise interval is configued as, the windows > > auto-raise in 0.5 seconds. Please could someone tell me if I am missing > > something ? > > > Maybe... one setting is taking precedence over the other? Order of > appearance can have a very frustrating effect in some aspects of > programming. CSS stylesheets within website design always instantly > come to mind there, but maybe networking has some nice examples closer > to what's being asked here. > > Have you tried untoggling (unclicking/unchecking) one or the other of > those settings to see if it changes things? I'm a-suming *yes*, but it > never hurts to ask anyway. :) > yes > Looking hard at your printscreen, it just FEELS LIKE there could be > conflict between "Focus follows mouse" having a time delay setting... > > AND THEN... there exists that secondary, DIFFERENT time delay setting > that SEEMS TO say it is triggered by-y-y > > A window more generically receiving focus by *any* means available to the > user. > > Maybe that's bottlenecking its response somehow? > > Like maybe it could use slightly more specific IF/ELSE/THEN(?) steps > to cover more usage cases that are individually tied to those initial > radio buttons at the top? > > Like maybe the radio buttons could be aligned vertically instead of > horizontally... > I even tried to edit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml and I have set the value of raise to Even that did not make any difference (given the max delay is 2000) AND THEN offer the various time delay option check boxes, etc, such as > they vary specifically based on "Click to focus" versus "Focus follows > mouse"? > > It's been a while since I found that XFCE perk, but I can still > remember having to second guess the intents, the action/reaction > relationships there myself :) > > Cindy :) > -- > Cindy-Sue Causey > Talking Rock, Pickens County, Georgia, USA > > * runs with birdseed * > >
Applet to find internet status
Hi, I am looking for an applet (a simple one) which indicates the connectivity to internet (perhaps green when connected to internet and red/orange when connected but no internet access). I am struggling to search for this in google. Please could someone point me to this if there is any ? -- Bhasker C V Secure Mails: http://keys.gnupg.net/pks/lookup?op=get&search=0x4D05FEEC54E47413 Registered Linux User: #306349
Re: Applet to find internet status
But we could use an external IP to communicate ... like 1.1.1.1 or curl to some known website to confirm that internet works (which will include the system proxy settings). But you are right. It would be easier to write one and taylor it to the network needs of that person. Thanks. On 3/20/20, Charles Curley wrote: > On Fri, 20 Mar 2020 19:54:29 + > Bhasker C V wrote: > >> I am looking for an applet (a simple one) which indicates the >> connectivity to internet (perhaps green when connected to internet and >> red/orange when connected but no internet access). I am struggling to >> search for this in google. Please could someone point me to this if >> there is any ? > > Possibly because it would be hard to write one? > > All your computer knows is its IP address and netmask, and the address > to which to send packets it cannot otherwise route. Whether any of that > is the Internet is entirely a matter of situation and opinion. > > You could do what NetworkManager, WICD and some other connection > managers do, and indicate whether the computer has a connection to one > or more hosts, but those may be entirely on some isolated intranet. > > You could write a program using ICMP packets to see if you have any > sort of connectivity to some arbitrary host(s) out there, and call that > "Internet connectivity". But that too is arbitrary, and a matter of > opinion. > > Experience has taught me that if I can get email from my server, I > probably have access to most of the Internet. Not the same thing, but a > good working proxy. For me. > > As you can see, the terms get really slippery and fuzzy when you start > to look closely. > > > -- > Does anybody read signatures any more? > > https://charlescurley.com > https://charlescurley.com/blog/ > >
why is grep behaving this way ?
I have logname command give me this output [EMAIL PROTECTED] ~]$ logname bhaskerv and say i execute this command [EMAIL PROTECTED] ~]$ echo `logname` bhaskerv till this it is all fine BUT [EMAIL PROTECTED] ~]$ who | grep `logname` logname: no login name Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. is there anything i am doing wrong ?
Re: why is grep behaving this way ?
Yes, There are lots of alternatives like : who | grep `id -un` who | grep bhasker or even i tried to do this !!! who > a grep `logname` a that WORKS ONLY this command "who | grep `logname`" does not work ! WHY ? On Fri, 2007-03-02 at 12:16 +0200, Salvatore Iovene wrote: > On Fri, Mar 02, 2007 at 03:07:37PM +0530, Bhasker C V wrote: > > [EMAIL PROTECTED] ~]$ who | grep `logname` > > logname: no login name > > Usage: grep [OPTION]... PATTERN [FILE]... > > Try `grep --help' for more information. > > Weird. Consiedering that this works: > > who | grep `whoami` > > Where's the catch? > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Cannnot authenticate debian archive packages
Hi all, I have similar problem. The only thing is that instead of installing from DVD, i put the DVD images on to a server which loop-back mounts the DVD. I have added the local server address to the sources.list. But on the Etch DVD there is no Release.gpg file. Now, how can i avoid the authetication warning without using APT::Get::AllowUnauthenticated 1 OR can i download the GPG keys from the etch website and then have it installed in my machine so that i can avoid the authentication warning ? If so can someone point me to the website and the method to import the keys thanks On Sat, 2007-07-07 at 03:44 +0200, Enrique Perez-Terron wrote: > On Fri, 2007-07-06 at 21:13 -0400, Roberto C. Sánchez wrote: > > On Sat, Jul 07, 2007 at 03:00:51AM +0200, Enrique Perez-Terron wrote: > > > This is the output: > > > > > > # apt-get install gui-apt-key > > > Reading package lists... Done > > > Building dependency tree... Done > > > The following NEW packages will be installed: > > > gui-apt-key > > > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > > > Need to get 30.5kB of archives. > > > After unpacking 512kB of additional disk space will be used. > > > WARNING: The following packages cannot be authenticated! > > > gui-apt-key > > > Install these packages without verification [y/N]?y > > > Get:1 http://ftp.uk.debian.org etch/main gui-apt-key 0.3-1 [30.5kB] > > > Fetched 30.5kB in 0s (39.2kB/s) > > > Selecting previously deselected package gui-apt-key. > > > (Reading database ... 127897 files and directories currently > > > installed.) > > > Unpacking gui-apt-key (from .../gui-apt-key_0.3-1_all.deb) ... > > > Setting up gui-apt-key (0.3-1) ... > > > > > Hmm. Have you tried doing an 'apt-get update' and trying to install the > > package? > > # apt-get update > Get:1 http://ftp.uk.debian.org etch Release.gpg [378B] > Hit http://ftp.uk.debian.org etch Release > ... > Hit http://ftp.debian.org etch/non-free Sources > Fetched 23.4kB in 1s (15.1kB/s) > Reading package lists... Done > > # apt-get install gui-apt-key > Reading package lists... Done > Building dependency tree... Done > gui-apt-key is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > > # dpkg --purge gui-apt-key > (Reading database ... 127942 files and directories currently > installed.) > Removing gui-apt-key ... > Purging configuration files for gui-apt-key ... > > # apt-get install gui-apt-key > Reading package lists... Done > Building dependency tree... Done > The following NEW packages will be installed: > gui-apt-key > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 0B/30.5kB of archives. > After unpacking 512kB of additional disk space will be used. > Selecting previously deselected package gui-apt-key. > (Reading database ... 127897 files and directories currently > installed.) > Unpacking gui-apt-key (from .../gui-apt-key_0.3-1_all.deb) ... > Setting up gui-apt-key (0.3-1) ... > > No warning this time. :) > > It seems apt-get update solved the problem. No explanation, though. > > I usually do an update from synaptic, but I may have done diffently this > time. > > Regards > Enrique > > > > > > > > > > > > Regards, > > > > -Roberto > > > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
creating a local mirror and package authentication
Hi all, I have small problem authenticating the packages with apt-get I get the warning that the package is not autheticated >>>>>>>>>>> WARNING: The following packages cannot be authenticated! dash ash Install these packages without verification [y/N]? >>>>>>>>>>> I put the DVD images on to a server which loop-back mounts the DVD. I have added the local server address to the sources.list. But on the Etch DVD there is no Release.gpg file. Now, how can i avoid the authetication warning without overriding I do not want to use "APT::Get::AllowUnauthenticated 1" OR can i download the GPG keys from the etch website and then have it installed in my machine so that i can avoid the authentication warning ? If so can someone point me to the website and the method to import the keys thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: creating a local mirror and package authentication
Questions by Florian Kulzer > How did you add the mounted DVD image to your sources.list? Did you > use > "file:" URIs? man sources.list | egrep 'deb(-src)? file' I have an apache httpd server running on the remote system and i have added http address of the server this is my sources.list deb http://s1/ETCH4_1/ stable main deb http://s1/ETCH4_2/ stable main where s1 is my local network server. On Sun, 2007-07-08 at 17:03 +0530, Bhasker C V wrote: > Hi all, > > I have small problem authenticating the packages with apt-get > I get the warning that the package is not autheticated > > >>>>>>>>>>> > WARNING: The following packages cannot be authenticated! > dash ash > Install these packages without verification [y/N]? > >>>>>>>>>>> > > > I put the DVD images on to a server which loop-back mounts the DVD. > I have added the local server address to the sources.list. > But on the Etch DVD there is no Release.gpg file. > Now, how can i avoid the authetication warning without overriding > I do not want to use "APT::Get::AllowUnauthenticated 1" > > > OR > can i download the GPG keys from the etch website and then have it > installed in my machine so that i can avoid the authentication > warning ? If so can someone point me to the website and the method > to import the keys > > thanks > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xsession file
.xsession is a file which to my knowledge can only take one command at the end. The file must is not 'shelled' but 'exec'ed. So you can place commands in the file one per line or a script but the end of the file must be an exec and not a script/command that returns. Or in other words, the .xsession file can be placed in your home directory which will be souced and commands executed from the file and the X session lasts until the .xsession file completes and returns (the last command returns ) X session will also last till all the clients connected to the X session terminates. eg:- If you place this command sleep 20 then the X session will last for 20 seconds and after 20 seconds when the sleep command exits, the X window will close. On Fri, 2007-07-20 at 20:06 -0500, Ron Johnson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/20/07 19:47, Nguyen, Cuong K. wrote: > > Hi all, > > > > I have Debian Etch 4.0 and it is quite new to me. I want to customize > > some scripts starting with Gnome every time when I boot up and log in, > > and the method chosen is to use ~/.xsession file. The problem is I do > > not see that file in my home folder. I need to create one, but then I do > > not know what is the "official" command(s) to pass off the process to > > gnome whenever the script is implement. Tried gdm, xdm, /etc/init.d/gdm, > > startx etc... with no luck. Everybody has an idea? > > Why not use sessions? > > - -- > Ron Johnson, Jr. > Jefferson LA USA > > Give a man a fish, and he eats for a day. > Hit him with a fish, and he goes away for good! > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFGoVwlS9HxQb37XmcRAqgJAJ42Qy/pjk2xfuqne0LItHtc7F9O2ACgivVM > B6k4SPnTvKYC8tJL6yJfSEk= > =v3W5 > -END PGP SIGNATURE- > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installing problems: Debian 4.0r0, on LiteON DVD-RW LH-20A1p
Hi, You can try Ctrl-Alt+F2 to get to a shell There, dmesg might give you more information on what is happening during the mount ? You can even try a manual mount there to find out what is happening. On Fri, 2007-07-20 at 23:42 -0400, Kevin C. Redden wrote: > Folks: Tried to install Debian 4.0 r0 on my system, and didn't get very > far. It booted fine, but then after I did this: > > language for installing: English > country or region: Unitied States > Keymap: American English > > then it tries to detect hardware > > Then says: > > your installation CD-ROM couldn't be mounted. This probably means that the > CDROM was not in the drive. If so you can insert it and try again. > > If you say 'yes' it just gives a blue screen with a white bar on the bottom > and sits there. > No, gives you a menu, which then leads to the same thing. > > I can ctrl-alt-del out of it. > > The drive is a ATAPI CDROM > LiteOn DVD LH-20A1p > > This disk works fine on a IBM T22 Thinkpad, and I'm using it there so the > disk isn't bad. Just can't mount this disk, after it boots. > > Any solutions? Or would it be > > While I have your ear, I want to install this on an old PATA drive in the > system and not on the SATA drives (This is purely experimental at the > moment.) What would I look for when it comes time to accually install? > > Thanks! > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to unmount usbkey
Hi, Can you try putting the mount options on /etc/fstab /dev/ defaults,user 0 0 Whatever you put, the option "user" is important which will allow you to unmount and mount volumes as user. On Tue, 2007-07-24 at 14:44 +0200, Stephane Durieux wrote: > Hello > > I use usbmount. But I encounter a problem. > As a simple user via gnome I can t unmount an usbkey. > The pop up message appears: > "... not in /etc/fstab and you re not root" > > I ve tried to use the users mount options in > usbmount.conf but udev doesn t seems to take it into > account. > > Can someone help me. > > Thanks > > > > > _ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: new Etch install fails to boot
Hi, Sometimes older bios has a virus protection enabled in the bios itself. This does not allow anything to be written to the MBR to protect MBR viruses. I have faced this problem whereby the MBR gets cooked and the GRUB does not get written properly. Looking at your information it looks like grub is not able to proceed. Can you check your bios once again and try disabling the virus protection (re-enable it later once things are working) and re-install the grub and check ? On Sun, 2007-07-29 at 17:43 -0400, Steve Kleene wrote: > I just made a fresh Etch Netinst CD and successfully completed an install on > a PC that I bought six years ago. When I try to boot, this is as far as it > gets: > > Verifying DMI Pool Data .. > GRUB Loading stage1.5. > Read > > It may or may not be relevant to mention an issue I had in the past with this > box. I used to run Red Hat on it but with a Windows partition at the start > of the disk. During the Red Hat installation, I had to select "Force LBA32" > or it wouldn't find the Linux boot partition. > > Now, though, I have given the whole disk to Etch, so I'd be surprised if this > is the issue. There are just two partitions: > > IDE5 master (hde) - 41.2 GB IC35L040AVER07-0 > #1 primary 39.9 GB B f ext3 / > #5 logical1.5 GB f swap swap > > The BIOS (AWARD 1998 / PCI/PNP 686 / 276079428) shows: > IDE Primary Master Auto (other choices are None, Manual) > Access Mode Auto (other choices are Normal, LBA, Large) > > I've tried various combinations, including LBA, to no avail. The hard drives > are IBM Deskstar 40-GB IDE hard drives, model IC35L040AVER07-0. > > Any ideas how to fix this? Thanks. > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
scp non-overwrite option
All, I was trying to scp a large directory from server to my box (server on FC and my desktop on etch). I use scp -r option to copy all the files. But when it happens that the scp fails somewhere, i cannot ask it to continue by omitting the ones it has already copied. For example in the standard cp command, i can give a '-i' option to interactively ask if the command is going to overwrite a file already present. Why is this option not present in scp ? PS: I did a workaround by setting the already copied files as r which helps by not allowing scp to overwrite the file, but just curious if there is any other proper method to do this. -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
converting file system
All, Is there a method to convert an ext3 file system created with -T largefile4 to a normal ext3 file system with normal block sizes ? (without losing data). Thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: scp non-overwrite option
Thanks Bob. On Thu, 2007-08-02 at 23:17 -0600, Bob Proulx wrote: > Bhasker C V wrote: > > I was trying to scp a large directory from server to my box (server on > > FC and my desktop on etch). I use scp -r option to copy all the files. > > But when it happens that the scp fails somewhere, i cannot ask it to > > continue by omitting the ones it has already copied. > > This is a perfect application for 'rsync'. > > rsync -av /from/here/dir example.com:/to/there/ > > The rsync program will only copy what needs to be copied. This means > it can be interrupted and restarted and will quite efficiently > complete the copy without transmitting the previously copied data. > > > For example in the standard cp command, i can give a '-i' option to > > interactively ask if the command is going to overwrite a file > > already present. > > Grr... That is a blunt and coarse use of 'cp -i'. You would have to > answer 'n'o to a lot of questions. Or use 'yes n | cp -i' and that > seems worse. Of course 'cp -u' will avoid copying the previously > copied files too but better to use rsync here. > > > Why is this option not present in scp ? > > Because it is not needed because it exists in other commands. scp is > simply an rcp lookalike command. > > Bob > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: photo album or photo viewer in xfce
Hi, I use kphotoalbum. It is really good and can sort according to timeframes, can have metadata etc., The good thing about kphotoalbum is when sorting the pictures, it sorts according to timeframe and this time is not the file creation time on the filesystem but the image time recorded on the image metadata. On Wed, 2007-08-15 at 13:03 +0200, Joachim Fahnenmüller wrote: > Hi Peter, > > On Tue, Aug 14, 2007 at 07:46:21PM -0700, PETER EASTHOPE wrote: > > > > Folk, > > > > Can anyone recommend a package or application for > > efficient viewing of photos in xfce? I installed showfoto > > in one system; it invokes many dependencies. > > > > Thanks, ... Peter E. > > I use gqview and am happy with it. > > regards > -- > Joachim Fahnenmüller > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: photo album or photo viewer in xfce
Hi, If you want very less dependencies then you might probably want to try gqview. But if you want to compile and you have kdelibs devel with you then i suggest you to go for kphotoalbum. This is really good tool i am using. On Wed, 2007-08-15 at 23:00 -0400, Guillermo Garron wrote: > On 8/14/07, PETER EASTHOPE <[EMAIL PROTECTED]> wrote: > > > > Folk, > > > > Can anyone recommend a package or application for > > efficient viewing of photos in xfce? I installed showfoto > > in one system; it invokes many dependencies. > > > > Thanks, ... Peter E. > > > > > > http://carnot.pathology.ubc.ca/ > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > > > > I do not know if F-Spot works with XFCE, but with Gnome it works > great, take a look at it here: > > http://www.go2linux.org/f-spot_linux_picture_manager_and_viewer > > > -- > Guillermo Garron > "Linux IS user friendly... It's just selective about who its friends are." > (Using FC6, CentOS4.4 and Ubuntu 6.06) > http://feeds.feedburner.com/go2linux > http://www.go2linux.org > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: NFS server problem
Alex Does dmesg give any infomation on the network like link up or down ? I have seen this happening sometimes in heavy load conditions when the network card simply goes down hardware-wise and starts flipping ! On 8/21/07, Alex Samad <[EMAIL PROTECTED]> wrote: > > Hi > > I have 2 boxes, 1 is my nfs server - which hold all my home directories, > the > other is a processing machine, which loads the users home directories via > nfs > > my mount in the fstab > > hufpuf.hme1.samad.com.au:/home/alex /home/alex > nfs > rw,auto,noatime,nouser,async,nodev,suid,_netdev,rsize=32768,wsize=32768 > 0 0 > > > what happens is after a while the nfs get locked and I get these in dmesg > > nfs: server hufpuf.hme1.samad.com.au not responding, still trying > nfs: server hufpuf.hme1.samad.com.au not responding, still trying > nfs: server hufpuf.hme1.samad.com.au not responding, still trying > nfs: server hufpuf.hme1.samad.com.au OK > nfs: server hufpuf.hme1.samad.com.au OK > nfs: server hufpuf.hme1.samad.com.au OK > > > the only way to unlock it is to restart the nfs server and then everything > starts working fine one other thing that is different is I have an > mtu of > 9100 between these to servers, but I have had this in place for a while. > > these are the packages installed on the server > > ii nfs-common 1:1.1.0-11 NFS support > files > common to client and server > ii nfs-kernel-server 1:1.1.0-11 support for > NFS > kernel server > > > and on the client > > ii nfs-common 1:1.1.0-11 NFS support > files > common to client and server > ii nfs-kernel-server 1:1.1.0-11 support for > NFS > kernel server > > > I am not sure where to start looking first as the client machine locks up > hard > till I restart the nfs > > Alex > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFGypNIkZz88chpJ2MRAi2HAJ9QoKe1JnTqJeMSPG0BarBMn8PREACfQ633 > +J3BUkEEwBETfT1L8a4jWK0= > =TsfV > -END PGP SIGNATURE- > >
how to interpret last log
Hi, Saw this last log and got confused on my Etch >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bcv pts/0:0.0 Mon Aug 27 22:00 still logged in bcv tty2 Mon Aug 27 21:58 still logged in bcv tty1 Mon Aug 27 21:57 still logged in reboot system boot 2.6.21.1-bcv Mon Aug 27 21:56 - 22:00 (00:04) bcv tty1 Mon Aug 27 11:52 - down (00:06) reboot system boot 2.6.21.1-bcv Mon Aug 27 11:52 - 11:59 (00:07) bcv pts/0:0.0 Sun Aug 26 23:18 - down (00:00) bcv pts/0:0.0 Sun Aug 26 22:42 - 22:56 (00:13) bcv pts/1:0.0 Sun Aug 26 21:36 - 21:41 (00:04) bcv pts/0:0.0 Sun Aug 26 21:36 - 21:57 (00:20) bcv pts/1:0.0 Sun Aug 26 20:52 - 20:53 (00:00) bcv pts/1:0.0 Sun Aug 26 20:51 - 20:52 (00:00) bcv pts/1:0.0 Sun Aug 26 20:38 - 20:43 (00:04) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> especially bcv tty1 Mon Aug 27 11:52 - down reboot system boot 2.6.21.1-bcv Mon Aug 27 11:52 - 11:59 a user logged-in from 11.52 to 11.59 but the system went down at 11:52 ? how is this possible Rest assured that there is no ntp or something of that sort running which can auto-sync my time to internet time. -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
browser confusions
All, There are multiple browsers in my system (Etch). Icescape firefox mozilla but what is the difference between these ? I can see that these are sharing the information between each other (bookmarks etc.,) I am using opera for all my normal browsing but using icescape for my banking related browsing. Among the once if there is a differnece, which one is the most secure ? please advice, -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: browser confusions
Hi, On Tue, 2007-09-04 at 02:02 -0500, Mumia W.. wrote: > On 09/04/2007 01:28 AM, Bhasker C V wrote: > > All, > > > > There are multiple browsers in my system (Etch). > > Icescape > > firefox > > mozilla > > > > but what is the difference between these ? I can see that these are > > sharing the information between each other (bookmarks etc.,) > > > > I am using opera for all my normal browsing but using icescape for my > > banking related browsing. Among the once if there is a differnece, which > > one is the most secure ? > > > > please advice, > > > > > > Since you didn't provide the version numbers for the applications you > presented, I can only offer general advice. The versions are iceape: Iceape 1.0.8, Copyright (c) 2003-2006 mozilla.org, build 2007021704 firefox: Mozilla Iceweasel 2.0.0.3, Copyright (c) 1998 - 2007 mozilla.org > > Iceape and Firefox are split-offs from Mozilla. So long as you update > your system regularly, Iceape will be the most secure. I am not connected to internet always. How do i apply these updates offline by downloading ? > > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Thinking about devoting a serious part of my life to linux...
On Tue, 2007-09-04 at 03:13 +, blues wrote: > I would really love to become a good sys admin; linux is very > interesting to me as a popular alternative to the crap business model > of MS.i like the idea of using free software to monitor and > protect a network, and I hope to make a career out of it...does anyone > have any tips as to what i should concentrate on? Is debian a good > distro to learn if I want to one day run a corporate network? > Try downloading VMWare server on the net. That is free and it can emulate multiple boxes( I am not starting a fire here on the choice of the virtual emulator but vmware is a good one to start with IMHO). Install linux and run atleast 3 instances with no two on the same network. Assign IP addresses and then try to do what all you can do with the data. VMWare gives you ease of use to add a harddisk and so you can just add another 2 hard-disks and try out DM-RAID or LVM, try occupying one lvm, move lvm data from one disk to other, recover from a lost level 5 raid etc., On the networking side, you can try pinging the linux boxes in the other networks using the linux box with 2 network cards as a router. Try changing and playing with the ip addresses using iptables , putting rules, blocking traffic etc., on the configuration sied, you can setup radius server, http server and then try to make then secure by adding some firewall rules which allow access to only one machine etc., and also setting up usernames and passwords for accessing a site in apache. But yes, make sure you are thorough with compiling kernels and making them work. Sometimes compilation and adding to grub goes like a breeze and sometimes you end up finding out what has to be put in the .config to avoid the kernel-panic while booting ! After this you can try out sysadmin things on the kernel side which may be something like installing a new kernel, trying to play with SCSI disks, etc., You can work on the booting process and try writing a /etc/rc.X init script which gets called during the bootup of the box from init scripts. Last but not least, get back to this group if you have isses and i am sure many people in the group will be glad to help you with your issues in linux. > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: etch : system hangs
Hi, If there is some junk in the screen and the keyboard (Num lock toggle) is not respoding then the kernel has crashed. This may be because of variuos reasons. The main probable reason can be memory. Use memcheck in the CD to check all the memory fully with all permutations and combinations shown by the memcheck. On Tue, 2007-09-04 at 00:33 +0530, Mridul Manohar Mishra wrote: > Hi, >I am using following configuration as my hardware -: > PIII 700 MHz > 128 MB SDRAM > no graphics card > > It shows 5080 as free. > I am using debian 4.0 and it's my first time with debian based distro. > I am facing a weird problem. My system either hangs or screen gets > filled with vertical coloerd lines (like thin copper wires). > Previously I thought It was related to gnome so i switched to xfce but > the problem remains. This occures every now or then randomly. > I a not sure whether it's a hardware or software problem and how to > catagorise this problem in either of them. Can anyone please help me > out? > > Thanx, > Mridul -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: browser confusions
Thanks all, I downloaded iceape-browser_1.0.10~pre070720-0etch3_i386.deb and installed it manually ( i did not want to upgrade whole of my system). Now iceape shows 1.0.9 version. On Tue, 2007-09-04 at 06:28 -0500, Mumia W.. wrote: > On 09/04/2007 04:36 AM, Liam O'Toole wrote: > > On Tue, 04 Sep 2007 03:49:47 -0500 > > "Mumia W.." <[EMAIL PROTECTED]> wrote: > >> Iceweasel is up to date. > > > > A more recent iceweasel is available from security.debian.org: > > > > Thanks. > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How do you turn on and off a program automatcially
All, Even if we solve this by going for an alternative approach as to using a text based program, we still need a method by which we can run some curses based application For this we can use "screen" (man screen) Open a new terminal and then run the program After running this program, we can use cron to send * kill -STOP * kill -CONT change (*) with the cron timing which seuits you. This way we can start and stop the program at will. On Sun, 2007-09-30 at 17:07 -0400, Celejar wrote: > On Sun, 30 Sep 2007 21:17:57 +0300 > [EMAIL PROTECTED] wrote: > > > On 9/30/07, Celejar <[EMAIL PROTECTED]> wrote: > > > On Fri, 28 Sep 2007 17:21:16 -0400 > > > Peter Smerdon <[EMAIL PROTECTED]> wrote: > > > > > > > Sid Arth <[EMAIL PROTECTED]> writes: > > > > > > > > > Hi, I am running rtorrent and I was wondering if it is possible for > > > > > the > > > > > system to turn the program off at certain times, and turn it back on > > > > > at > > > > > other times. > > > > > > > > You can probably use use `cron' to achieve this. > > > > > > I struggled for a while to figure out how to do exactly this, without > > > success. I believe that cron does not work, since (at least some) > > > ncurses apps insist on being run from a terminal. > > > > > > usually such problems have to do with the differences of the > > environment (bash variables) - you can customize the env. of cron to > > overcome this problem > > I don't currently have rtorrent installed, but can you give a bit more > explanation or a pointer for future reference? What differences in the > environment do you mean? Which variables have to be modified, and to > what values? > > Celejar > -- > mailmin.sourceforge.net - remote access via secure (OpenPGP) email > ssuds.sourceforge.net - A Simple Sudoku Solver and Generator > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
[OT]asking questions
Hi all, I have some basic knowledge of linux kernel programming and going further i have some questions on the file system device drivers. I am not getting information on the internet on this topic. Can someone suggest me a good mailing list where i can ask questions I may be asking some basic questions on this topic and so the mailing list must not kick me off ... thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
cpu frequency after hibernation
Hi all, I use acpi_cpufreq (cpufreq_conservative) When I bootup the system the cpu frequency is set to the low and whenever there is a need the cpu frequency automatically shoots up and caters the need. But the problem arises when i recover from a suspend-to-disk. The cpu frequency is stuck to the highest and doesnot come down at all ! Is this a bug or am i doing any mistake here ? -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
export config in proc for the debian kernels
Hi all, I was thinking why not the kernel which is packaged with the debian can export /proc/config.gz so that the config can be used to setup new kernels by the newbies and learners ? -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Installation of Debian by disk
text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Wed, Jan 24, 2007 at 03:06:07PM +, Colin Perkins wrote: > > Hi everybody, > >=20 > > I have installed Debian and logged -in ; all I see is a prompt which I d= > o=20 > > not > > have not have a clue as to how to use it ! > >=20 > > I had expected a graphical interface to appear i.e. KDE or gnome - I=20 > > was informed that > > KDE is supplied with Debian. > >=20 > > Have I installed Debian incorrectly ? I am very much a beginner with Lin= > ux. > >=20 > Yes. Debian is installed correctly. Out of curiousity, what > documentation have you looked at so far? > > Regards, > > -Roberto > > --=20 > Roberto C. Sanchez > http://people.connexer.com/~roberto > http://www.connexer.com > > --k+w/mQv8wyuph6w0 > Content-Type: application/pgp-signature; name="signature.asc" > Content-Description: Digital signature > Content-Disposition: inline > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFFt3er1snWssAFC08RAhTsAJ0eOF2zqftRGW61CF/QeWYANXj+kgCfUm8y > YC0B9pwQr/LzCtLVlPuOzHU= > =Rvea > -END PGP SIGNATURE- > > --k+w/mQv8wyuph6w0-- > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: VMware?
All, I have used both VMWare and qemu with kemu accel. I find that VMWare is more easy if you want to do some quick emulation and do not want to waste time in understanding how to enable network device and other stuff. VMware is more faster too. I am not cancassing for VMWare here but i have used both and after spending some time in qemu and VMWare i settled back to vmware and was happy with it for a long time. Now i do not use either of them anymore. VMWare is a licensed commercial product and so cannot be shipped with debian. VirtualBox is equivalent to VMWare and i have used it too. It has performance almost the same as VMWare except for the support part. It does not "yet" support some of the OS. (I was not able to install Sun8 on the box and i was also not able to install some other OS like QNX - had some issues.). But OS like debian/Windows work as good as VMWAre Summary: You want a product which will work with almost all guest OS - VMWare You want a Free prodcut with no compromise except guest OS -VirtualBox You want a a product where u can do lots of experiment - QEmu On Sat, 2007-01-27 at 23:33 +0200, Mehmet Fatih Akbulut wrote: > hi all, > what about VirtualBox ? > has anyone used this before ? > any idea whether it's as good as vmware or worse than qemu ? -- Bhasker C V To feel rich count all things you have in life that money can't buy. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
openssl Vs perl encode
Hi all, I am sure that this is more of a security question and does not pertain to 'debian', please advice me to re-route this mail to appropriate list if you are offended. I am trying to encode using base64 to get data for SMTP authentication which i am experimenting upon. I stumbled upon this issue. I am not sure why this is happening. Say the text to be encoded is "[EMAIL PROTECTED]" $ perl use MIME::Base64; print encode_base64("[EMAIL PROTECTED]"); aGVscC5jb20= $ echo "[EMAIL PROTECTED]" | openssl base64 aGVscEBiYXNlLmNvbQo= why are these two different ? Are'nt they supposed to be same ? -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Uniq is not unique ?
Hi, For fairly large file 100K+ lines uniq command does not filter the repetitive lines. Am I doing anything wrong on the usage ? For eg:- I had run this script in my home dir find . -name \* -type f -exec basename {} \; | uniq or send the output to a file and then run uniq on the file Both cases, the o/p shows repeated lines -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
smartctl Vs lm-sensors
Hi all, I want to monitor the harddisk temperature since I/O task in my system is very high and usually heatsup the harddisk. I get two different values viz. one from lm-sensors and other from smartctl smartctl gives me very large values like the one below showing 148 whereas hddtemp or the lm-sensors gives me value >>>> 194 Temperature_Celsius 0x0002 148 148 000Old_age Always - 37 (Lifetime Min/Max 21/45) >>>> /dev/hda: HTS541010G9AT00: 38 C >>>> Now, which one am i supposed to believe ? PS: The output above is indicative that the information is definetly centigrage and not the 194,10xCelsius value. Even if it had been 10x value, then, the values of 148/10 and 38 do not match. Am i missing something ? thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
known_hosts are encrypted ?
All, I use bash completion and was pretty happy for some time till i upgraded to etch. I see that the .ssh/known_hosts file for all the new entries added contains one line per host added as |1|= since this is encrypted, bash_completion somehow is not working for me. Is there any method to fix this ? thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: known_hosts are encrypted ?
All, Sorry for the query I figured this out There is /etc/ssh/ssh_config which has an option HashKnownHosts if HashKnownHosts yes then the hostnames are not in plain text in the known_hosts file of the user. So, bash_completion is not able to get the hostnames. thanks On Tue, 2007-04-03 at 23:04 +0530, Bhasker C V wrote: > All, > > I use bash completion and was pretty happy for some time till i > upgraded to etch. I see that the .ssh/known_hosts file for all the new > entries added contains one line per host added as > > |1|= > since this is encrypted, bash_completion somehow is not working for me. > Is there any method to fix this ? > > thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Etch hangs when installed on vmware
All, I am not a newbie to installation. I have installed debian before in vmware machines. I downloaded Etch (4.0r0) and started the installation. The first place where the hang started is when the kernel loaded. It became very slow when it was showing the message "Checking if this processor honours the WP bit even in supervisor mode... Ok." After long delay (30-40 seconds ! )this i get this message "Calibrating delay using timer specific routine.. 3411.43 BogoMIPS (lpj=6822875)" After this step the kernel proceeds but is extemely slow till it reaches a position when it prints ENABLING IP-APIC IRQs Thats it! from now on the kernel inches around every now and then and it does not go till the setup screen at all ! Anyone has any idea on why this is happening. I just want some people out there with vmware also to give me opinions if they faced this issue before i can talk to the kernel guys ! -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
how to exclude the packges in dist-upgrade
Hi all, I tried on the apt-get manual. But could not get to my requirement. I have some of the packages in my deb box which i do not want to upgrade/remove/uninstall during an apt-get dist-uprade. How do i specify the exclude list ? thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: how to exclude the packges in dist-upgrade
Hi, Thanks all, Setting '=' in deselect works. But the selection does not perculate to apt-get program. I tried echo "hal hold" | sudo dpkg --set-selections This worked. This also solves the dependencies once the top level package is selected to hold then the other packages dependent are automatically put on hold ! As usual ! debian's apt-get is the top package manager i have worked with ! On Wed, 2007-06-27 at 14:32 -0300, Gustavo Franco wrote: > On 6/27/07, Bhasker C V <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I tried on the apt-get manual. But could not get to my requirement. > > I have some of the packages in my deb box which i do not want to > > upgrade/remove/uninstall during an apt-get dist-uprade. > > How do i specify the exclude list ? > > You need to put such packages in 'hold' state, using aptitude or > through the CLI running for example: > > echo "package hold" | dpkg --set-selections > > To check a package state, run: > dpkg --get-selections package > > package is of course the package name. ;) > > regards, > -- stratus > http://stratusandtheswirl.blogspot.com > get debian @ http://get.debian.net/ > > -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
VNC on server
Hi all [firstly: sorry for this long mail], I tried to look in the internet but could not get any help on this. I have a server which has one interface connected to the public IP directly accesible and I have local systems in my house connecting to the server through another interface (local 192.168.1.x IP). I want the local systems to access the server via vnc(also). The problem is whenever I start vnc, there is no method as-of what I could understand to make it to listen/bind on a particular IP address. It(vncserver) always listens on 0.0.0.0 which is not secure enough on the internet side. I do not want to put iptables to block input and then watch people see the port as filtered instead of closed. I tried installing the tightvnc server. There was an option called -localhost which would help me to listen only on localhost which is secure[and i can use ssh to do port forwarding] . But I found that vncserver spawns-off Xvnc which again starts listening on all interfaces for port 6000 which is the X11 port and I do not want this to happen again on the internet side of the server. [/etc/X11/xinit/xserverrc already has -nolisten tcp ] I want to completely cut-off all ports on the server side except for the ssh port so that I can login to the server remotely if i want. Is there any method/vnc server which i can use which is configurable in terms of the binding interface/ip and also solves my purpose of vnc ? thanks in advance for inputs/help. PS: please explicit CC messages to me on your replies. Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
groups/help/form query
Hi all, To learn iptables means little self-help. I tried googling up to find out if there is a form/group where I can take to iptables related questions. I could not find one. Can someone please point me to such if there is one ? Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: This TLD has no whois server.
On Sat, 2 May 2009, jida...@jidanni.org wrote: I wanted to see the whois entry for qeqertarsuaq.gl $ whois qeqertarsuaq.gl This TLD has no whois server. But http://whois.domaintools.com/qeqertarsuaq.gl says Whois Server: whois.ripe.net So why didn't we see something like $ whois last.fm This TLD has no whois server, but you can access the whois database at http://www.dot.fm/whois.html Probably because $ whois -h whois.ripe.net qeqertarsuaq.gl %ERROR:101: no entries found All weird. Anyways, what should $ whois qeqertarsuaq.gl really say? very interesting ... !!! indeed ! please do copy me with the solution once you have ... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: can not start apache in lenny
Do you have virtual hosts enabled ? did you bind the machine to a particular ip (which may have changed now) ? the reason i am asking is looks like getaddrinfo is failing and i am assuming this may be because it is not able to bind to an interface On Fri, 1 May 2009, Vazrik Israelian wrote: I recently upgraded to lenny (stable), and I can not get apache to start. It fails at boot time, and when starting it manually, it fails the same way: #/etc/init.d/apache2 start Starting web server: apache2apache2: ../sysdeps/posix/getaddrinfo.c:1463: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed. /usr/sbin/apache2ctl: line 83: 4369 Aborted $HTTPD ${APACHE_ARGUMENTS} -k $ARGV failed! I have been at this for a while. All my searches, and readings did not result to any solution. sources.list: deb http://ftp.us.debian.org/debian stable main contrib non-free # deb-src http://ftp.debian.org/debian/ stable main non-free contrib deb http://security.debian.org/ stable/updates main contrib non-free deb http://www.debian-multimedia.org/ stable main Any help is appreciated. Thanks, Vazrik Bhasker C V Registered linux user #306349
Re: failed fsck on boot
On Sat, 2 May 2009, Umarzuki Mochlis wrote: 2009/5/1 明覺 On Fri, May 1, 2009 at 1:02 PM, Umarzuki Mochlis wrote: > I'm using Debian Lenny i386 on my desktop. After every few months, my > computer would failed to boot properly (stuck on fsck). Then I need to enter > recovery mode then manually run fsck. A friend suggested that this is caused > by bad power supply. There are statics on the computer casing but I want to > clarify with those who had similar experience. I ever had experience a little similiar with yours, my debian system crashed 3 times in 10 days, it was said to be caused by a harddisk problem, but my harddisk is quit new, and windows installed in another partition works fine. I think it might be caused by Samba and Pidgin(with heavy network tranffic and frequent harddisk writes), i'm not sure whether my guess is true. but for my new installations, i didn't install samba, and disabled those accounts with heavy traffic in pidgin, only kept accounts with normal traffic in pidgin. This has happened with mine too until i found out that it was because of buggy RAM. If your machine is just crashing randomly ... then you have a good chance to check the RAM to see if it is all fine... (boot into the install DVD and in the install prompt of the DVD just say memtest86+ The only program with frequent hard disk writes is deluge. I gues that explains no matter what OS I'm using since I'm always downloading files it will still happens. Any workaround? > > TIA. > > -- > Regards, > > Umarzuki Mochlis > http://gameornot.net > -- My platform is Gnu/Linux Debian(sid-amd64, lenny-intelx86) Gnome Mozilla/Iceweasel Gmail/Evolution Gtkmm/Anjuta/Emacs Scim Totem Pidgin. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349
Re: This TLD has no whois server.
same is the case with .cv domains I think some of the domains just do not have a whois server but as-long-as the entries for NS is in the root servers the network communication still works. On Sat, 2 May 2009, Thomas Hochstein wrote: jida...@jidanni.org schrieb: I wanted to see the whois entry for qeqertarsuaq.gl $ whois qeqertarsuaq.gl This TLD has no whois server. Perhaps this TLD has no whois server? See <http://www.issociate.de/domain_eng_gl_Greenland.php>: | Whois Server | None listed. But http://whois.domaintools.com/qeqertarsuaq.gl says Whois Server: whois.ripe.net That may be plain wrong. So why didn't we see something like $ whois last.fm This TLD has no whois server, but you can access the whois database at http://www.dot.fm/whois.html Because there is no such possibility to query a web database? gwhois can query the whois web database for .fm; it tries to query a web database at search.greennet.gl for .gl, but fails to do so. Probably because $ whois -h whois.ripe.net qeqertarsuaq.gl %ERROR:101: no entries found Yes. That means that domaintools.com is wrong. All weird. Anyways, what should $ whois qeqertarsuaq.gl really say? Nothing, if there is no whois server for .gl. -thh -- /0\ --- JOIN NOW! --- \ / ASCII ribbon campaign X against HTML / \in mail and news -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: webgui, gui
On Sun, 3 May 2009, Erik Xavior wrote: Are there any good "GUI"s, webGUIs for managing an "Linux" server? For several use, like the mandriva directory server? webmin ? thanks Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: SCSI Emulation with newer Kernels and Burning CD's
Hi, The native driver can directly do all the tasks and SCSI emulation is not needed anymore. For programs like growisofs, cdrecord in the option dev= instead of giving 0,0,0 etc., you can give /dev/hdc directly. On Tue, 5 May 2009, Martin McCormick wrote: I upgraded my kernel from an old 2.6.5 kernel to a newer 2.6.18 kernel and noticed that the boot process ignored the passing of /dev/hdc to scsi emulation. The drive worked fine after I mounted it as /dev/cdrom rather than /dev/hcd0. Do I need to do anything different to such programs as cdrecord? Martin McCormick -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: nmap, script scan
On Wed, 6 May 2009, Umarzuki Mochlis wrote: I wonder what could've caused this umarz...@ctrl:~$ nmap -A -T4 10.xx.xxx.29 Starting Nmap 4.62 ( http://nmap.org ) at 2009-05-06 15:07 MYT LUA INTERPRETER in nse_init.cc:763: /usr/share/nmap/scripts/robots.nse:4: module 'http' not found: no field package.preload['http'] no file '/usr/share/nmap/nselib/http.lua' no file './http.lua' no file '/usr/local/share/lua/5.1/http.lua' no file '/usr/local/share/lua/5.1/http/init.lua' no file '/usr/local/lib/lua/5.1/http.lua' no file '/usr/local/lib/lua/5.1/http/init.lua' no file '/usr/lib/nmap/nselib-bin/http.so' no file './http.so' no file '/usr/local/lib/lua/5.1/http.so' no file '/usr/local/lib/lua/5.1/loadall.so' SCRIPT ENGINE: Aborting script scan. -- I can see these installed in the machine. Probably the location of install was over-written by some other program ? May be remove and install may fix this issue ? -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349
Re: nmap, script scan
But you had re-installed zenmap. Can you try re-installing nmap ? zenmap would just change the front-end but the back-end is still corrupted. Try re-installing nmap package instead. On Wed, 6 May 2009, Umarzuki Mochlis wrote: 2009/5/6 Bhasker C V On Wed, 6 May 2009, Umarzuki Mochlis wrote: I wonder what could've caused this umarz...@ctrl:~$ nmap -A -T4 10.xx.xxx.29 Starting Nmap 4.62 ( http://nmap.org ) at 2009-05-06 15:07 MYT LUA INTERPRETER in nse_init.cc:763: /usr/share/nmap/scripts/robots.nse:4: module 'http' not found: no field package.preload['http'] no file '/usr/share/nmap/nselib/http.lua' no file './http.lua' no file '/usr/local/share/lua/5.1/http.lua' no file '/usr/local/share/lua/5.1/http/init.lua' no file '/usr/local/lib/lua/5.1/http.lua' no file '/usr/local/lib/lua/5.1/http/init.lua' no file '/usr/lib/nmap/nselib-bin/http.so' no file './http.so' no file '/usr/local/lib/lua/5.1/http.so' no file '/usr/local/lib/lua/5.1/loadall.so' SCRIPT ENGINE: Aborting script scan. -- I can see these installed in the machine. Probably the location of install was over-written by some other program ? May be remove and install may fix this issue ? Purging zenmap doesn't seem to rid of these messages. Anyway, thanks for the suggestion. -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349 -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349
Re: nmap, script scan
On Wed, 6 May 2009, Umarzuki Mochlis wrote: 2009/5/6 Bhasker C V But you had re-installed zenmap. Can you try re-installing nmap ? zenmap would just change the front-end but the back-end is still corrupted. Try re-installing nmap package instead. purging zenmap removes nmap also. So I reinstalled nmap but still the same. I even purged back nmap and reinstalled it, but it's still like before. I see there were bugs in ubuntu which had issues with nmap Can you try downgrading nmap to some other version to see if it works ? https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/288358 On Wed, 6 May 2009, Umarzuki Mochlis wrote: 2009/5/6 Bhasker C V On Wed, 6 May 2009, Umarzuki Mochlis wrote: I wonder what could've caused this umarz...@ctrl:~$ nmap -A -T4 10.xx.xxx.29 Starting Nmap 4.62 ( http://nmap.org ) at 2009-05-06 15:07 MYT LUA INTERPRETER in nse_init.cc:763: /usr/share/nmap/scripts/robots.nse:4: module 'http' not found: no field package.preload['http'] no file '/usr/share/nmap/nselib/http.lua' no file './http.lua' no file '/usr/local/share/lua/5.1/http.lua' no file '/usr/local/share/lua/5.1/http/init.lua' no file '/usr/local/lib/lua/5.1/http.lua' no file '/usr/local/lib/lua/5.1/http/init.lua' no file '/usr/lib/nmap/nselib-bin/http.so' no file './http.so' no file '/usr/local/lib/lua/5.1/http.so' no file '/usr/local/lib/lua/5.1/loadall.so' SCRIPT ENGINE: Aborting script scan. -- I can see these installed in the machine. Probably the location of install was over-written by some other program ? May be remove and install may fix this issue ? Purging zenmap doesn't seem to rid of these messages. Anyway, thanks for the suggestion. -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349 -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349 -- Regards, Umarzuki Mochlis http://gameornot.net Bhasker C V Registered linux user #306349
visible comments in grub
Hi all, I am trying to hide a menu item in grub but not hide it totally. The need is something like this: Suppose I change some command line parameters in one of the OS I load using grub, I would still want to see the old parameter line but inactive so that the line remains as a comment but in case of emergency I can press the character 'c' (in the initial grub prompt) and go to the command line mode to see the line enable it and boot that OS. Is this possible with grub ? thanks Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: squeeze, dns, fetchmail error
On Wed, 6 May 2009, Hugh Lawson wrote: How to troubleshoot this error? I've done hours of googling but can't find anything that helps. fetchmail: couldn't find canonical DNS name of pop-server.triad.rr.com (pop-server.triad.rr.com): Name or service not known fetchmail: Query status=11 (DNS) If I replace "pop-server.triad.rr.com" with the IP in .fetchmailrc, then fetchmail works fine, and very fast. ping and nslookup get the dns done as expected. Here is my ~/.fetchmailrc: # pop-server.triad.rr.com # IP is 71.74.56.73 poll pop-server.triad.rr.com proto pop3 auth password user "hlawson" password "PASSWD" sslproto ssl23 Something very similar happens with emacs gnus in relation to its news server. This is a squeeze trial install. My regular Debian is lenny, and it works fine. guess: Is all the DNS servers in the resolv.conf correctly reporing the name resolution ? If no can you remove all but one of the DNS entries in the resolv.conf and check if fetchmail works ! Alternatively: You can install strace and check what is exactly happening (you can see the connect command and then who is replying that the DNS resoltion failed etc., ... ) For some reason, squeeze puts the ethernet interface on eth0, while in lenny it's eth1. Hugh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: 5.0.1 MD5SUMS
On Thu, 14 May 2009, Lisi Reisz wrote: I am clearly going either blind or mad. In spite of spending quite some time looking, I cannot find the MD5sum for 5.0.1, which I have just downloaded. It surely must be there - but where is there? dpkg -S `which md5sum` coreutils: /usr/bin/md5sum server:~# which md5sum /usr/bin/md5sum Help anyone? TIA Lisi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Using terminal output as input
On Thu, 14 May 2009, Dotan Cohen wrote: I am using a Debian-based distro (Ubuntu). Often I need to use the output of one terminal command as the input for another. A classic example is the which command: $ which firefox /usr/bin/firefox $ do you mean using the back-quote `which firefox` the above command will fire the firefox command Now, I would like to use that output as input, to start firefox. Other than manually typing it in, is there a way for the user to use the output directly? Another example is when the OS lets the user know that she needs to install a program and gives her the command to install it: $ ekiga The program 'ekiga' is currently not installed. You can install it by typing: sudo apt-get install ekiga bash: ekiga: command not found $ In contrast to the "which" example, the text that the user needs is buried in the output. Is there a way to use it anyway, without retyping (and without using the mouse, which I often do not have). Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: using debian dvd iso image with apt
On Tue, 19 May 2009, Ólafur Jens Sigurðsson wrote: On Mon, May 18, 2009 at 01:51:45PM +0200, Raffaele Morelli wrote: Hi you all, I have 3 debian boxes (two i386 and one amd64) which are not connected to the network so I usually do upgrades by downloading weekly generated dvd iso images, burning images to a dvd-rw and running apt-cdrom add && apt-upgrade. By 'not connected' do you mean not even connected to internal netwok ? They may not be connected to the internet but are they internally connected in a private network ? My question is: can I fool apt in order to avoid burning dvd-rw each week? Yes. You can mount the new DVD in a location and export this location to be visible via http interface of one of the machines and then use apt-get update and apt-get distupgrade to upgrade to the new packages. I am not lazy but I do this regularly and burning two dvd-iso for different archs sometimes makes me crazy because of errors, dvd's failures or data corruption. Any suggestion is appreciated. Have you thought about using a USB pen drive to do this instead of DVD, would think the pen drive was a bit more reliable (or an external hd with USB interface) Oli -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349
Accidental shutdown
Hi all, Is there a method to prevent accidental powerdown of a linux box ? or atleast alert ? This usually happens when there are too many machines being managed and I accidentally run 'sudo reboot' on some other system rather than the one intented. I can rename and shell wrap the binaries poweroff/shutdown/reboot but that would not be a clean method and I am sure there should be much better way than that. Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Accidental shutdown
Thanks all I was looking for an utility exactly like molly-guard. Got it ! thanks again. On Thu, 21 May 2009, Daniel Husand wrote: On 21.05.2009 01:31, Bhasker C V wrote: Is there a method to prevent accidental powerdown of a linux box ? or atleast alert ? leda:~# reboot W: molly-guard: SSH session detected! Please type in hostname of the machine to reboot: fnutt Good thing I asked; I won't reboot leda ... W: aborting reboot due to 30-query-hostname exiting with code 1. aptitude install molly-guard -- Daniel Husand -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: best practice for lvm?
On Wed, 3 Jun 2009, Zhengquan Zhang wrote: On Thu, Jun 04, 2009 at 08:23:05AM +1000, Alex Samad wrote: On Wed, Jun 03, 2009 at 01:46:27PM -0500, Boyd Stephen Smith Jr. wrote: In <20090603174408.ga25...@m364d1.ece.northwestern.edu>, Zhengquan Zhang wrote: Can I say the best practice for lvm is to create a single partition for the harddrive and single PV on it [snip] You definitely want separate LVs for any partition (non-system) users can write to, to avoid running out of space on your / partition. I usually go overboard and have separate partitions for: /boot # If / is on LVM; not LV I would suggest to never put / or /boot on a lvm partition and at most to put it on a raid1 set. Why incase something goes wrong, raid1 i much easier to dissect then lvm (and especially lvm on raid) Does that mean, lvm on raid is easier to dissect than lvm alone? Be it RAID or not. The easy and best-near-resurrection method would be to somehow backup the /etc/lvm periodically. This will help you to restore the LVM VGs and LVs safely. This is my setup, /boot on raid1 and not on lvm, /root and /home are lvm on raid1. FilesystemSize Used Avail Use% Mounted on /dev/mapper/vg-root 4.6G 1.9G 2.5G 44% / tmpfs1008M 0 1008M 0% /lib/init/rw udev 10M 104K 9.9M 2% /dev tmpfs1008M 0 1008M 0% /dev/shm /dev/md0 92M 24M 63M 28% /boot /dev/mapper/vg-home 910G 372G 492G 44% /home /usr /usr/local # For OS migrations. /home /opt /srv /var /var/tmp # RAID 0 or other "fast" /var/cache # RAID 0 or other "fast" /tmp # Usually tmpfs; no LV and leave enough unassigned PE for later enlargement of certain LV? It is much easier to expand a filesystem than to shrink it. This is true even if you aren't using LVM. -- "I want to thank you for taking time out of your day to come and witness my hanging." - George W. Bush 01/04/2002 Austin, TX at the dedication of his portrait -- Zhengquan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: How Do I Get GRUB to See the External USB Drive?
Looks interesting. I had long before tried to setup XP on the external USB disk and left the option. The best option would be to install XP on your system drive and use USB disk to boot linux. This is very easy and you do not need grub on the internal machine and all you have to do is to boot from the USB drive choice from BIOS. Linux on USB disk worked fine for me. If you are able to install XP on the external disk please do ping me and give me some info/tips. thanks On Mon, 15 Jun 2009, Sjoerd Hardeman wrote: Now to the list instead of the poster Scarletdown schreef: I just purchased an external USB drive in hopes that I could toss an XP build on it real quick without messing with everything on the internal drives (friends wanting me to try Lord of the Rings Online which doesn't work with Cedega is one of the reasons...) ... So it's obvious that GRUB can see external USB drives. However, it is not visible to GRUB there at boot time. Is there any way to force GRUB to actually see external drives? Can you check the contents of /boot/grub/device.map? I think you need to make sure your usb device is mentioned there for it to work at boot time. If it is not there, redo update-grub and check if the usb drive is added to device.map. If so, do a grub-install and then things should work. Sjoerd Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Lost TTYs
Video corruption? I have seen this in some machines where once switched to xorg mode, it is almost impossible to go back to the consoles. Installing proper drivers for the cards sometimes fixed this issue. On Mon, 15 Jun 2009, David Baron wrote: Probably a bug in the latest and greatest xorg off Sid. Somewhere along the line, tty's get lost. That's right ... lost. Hitting alt/ctrl/F1 yields either the Debian blue swirl or once kde4 is up, a funny version of the current screen. alt/F7 gets the kde session back. No TTY0 session. Get no TTY available errors in logs as well! Anyone seen it? Fixed it? Reported it? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Salvage a dead IO USB device
Hi, I think this question has been asked many times but could not google out easily on the threads. Suppose I have a dead/rejected SCSI USB device how do I reset it so that I can use the device name again. I use crypto LVM and usually have /dev/mapper/XXX devices which are PVs. These are lvchange'd and used. If for some reason my USB device gets disconnected, lvm on the other hand has lots of problem re-scanning the PVs and pvscan/vgsdcan/lvscan simply fails sometimes. Is it possible that I can reset this state so that I can re-connect the USB device and it can take the same device name (say sda). What I do not mean by this is I do not want to recover any data from the dead device. All I want is to use/salvage the dvice names. thanks Bhasker C V Registered linux user #306349 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Shutdown hooks
Hi, I was trying to find out if there are any shutdown hooks. What i mean by this is that i must be able to have some conditions met before actual shutdown starts. Eg:- Suppose there is a very important process running, the hook must check this and if the hook returns non-zero, the system must refuse a requested shutdown. I can write a wrapper to /sbin/shutdown for doing this, but i am just trying to find out if there is any method already available for doing this ? thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Debian DVD media check
Hi all, I usually end up having downloaded debian DVDs which I do not know if they downloaded properly. The MD5 sums I do not download (when i use jigdo). Is there a method so that the DVD does a self-test so that i am sure that the DVD is in a good state ? ( sort of a media check ? ) OR is there a method to get the MD5 of a DVD which I have with me ? I know that i can get the DVD info from the .disk/info file in the DVD. thanks PS: Please copy me on replies since I am not sure if i am continuing to receive the list mails -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Read-only USB scan
Hi all, I have a server where there is a USB SCSI disk with lots of important data. The only problem is accidentally people try to understand some other similar ide-scsi disk (sdb may be) as the first one (sda) and delete data. I was going to find out if there is any method so that I can make a disk (a particular device) read-only. i.e in case I insert this disk with very important data, I must be able to make this disk (may be scanned as sdX) as readonly so that people are only able to see the partition, mount it and use it ratherthan try to accidentally delete data which will result in disk reporting it as read-only [ PS: I am not referring a workaround of mouting a partition read-only which can still help, but i want the whole disk to be made read-only ] -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Re: Read-only USB scan
Hi, hdparm -r1 /dev/sda works and I get this output when I read back the information with plain '-r' $ sudo hdparm -r /dev/sda /dev/sda: readonly = 1 (on) Does this make it really read-only ? My harddisk is having a PV and then a VG ... LV which if i mount, still is able to write to it ? [ VG activation is successful ] (dont know if 'write' means really write a large file but I checked using touch command and I am still able to create the file) My kernel is 2.6.21.1 Is there anything I am missing here ? Ron Johnson wrote: On 12/20/08 12:32, Bhasker C V wrote: Hi all, I have a server where there is a USB SCSI disk with lots of important data. The only problem is accidentally people try to understand some other similar ide-scsi disk (sdb may be) as the first one (sda) and delete data. I was going to find out if there is any method so that I can make a disk (a particular device) read-only. i.e in case I insert this disk with very important data, I must be able to make this disk (may be scanned as sdX) as readonly so that people are only able to see the partition, mount it and use it ratherthan try to accidentally delete data which will result in disk reporting it as read-only [ PS: I am not referring a workaround of mouting a partition read-only which can still help, but i want the whole disk to be made read-only ] # hdparm -r You might have to crack open the USB enclosure and physically install the drive in a PC in order for this to work. -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Re: Read-only USB scan
Ron Johnson wrote: (Please don't top-post.) On 12/20/08 18:18, Bhasker C V wrote: Hi, hdparm -r1 /dev/sda works and I get this output when I read back the information with plain '-r' $ sudo hdparm -r /dev/sda /dev/sda: readonly = 1 (on) Does this make it really read-only ? That's what happens on my Firewire/SATA hard drive. # hdparm -r1 /dev/sdc1 /dev/sdc1: setting readonly to 1 (on) readonly = 1 (on) # mount -v /data/02 mount: block device /dev/sdc1 is write-protected, mounting read-only /dev/sdc1 on /data/02 type ext3 (ro) # dd count=10 if=/dev/hda1 of=/data/02/foo.bar dd: opening `/data/02/foo.bar': Read-only file system My harddisk is having a PV and then a VG ... LV which if i mount, still is able to write to it ? [ VG activation is successful ] (dont know if 'write' means really write a large file but I checked using touch command and I am still able to create the file) My kernel is 2.6.21.1 Is there anything I am missing here ? Since you've got so many layers logicalness between the app and the spindles, maybe you aren't really writing to the spindle you think you are writing to? Or LVM is setting the read flag? I tried this too ... But i am sure that the data is getting written to be spindle. I deactivated the usb drive and then re-activated the VG and LVs in it and could see the data writeen intact ! So, my guess is that hdparm -r1 does not work on USB scanned devices and there is no method to make the device read-only [unless we try to stick out head into the physical hardware ] ? Is that what we are concluding ? Ron Johnson wrote: On 12/20/08 12:32, Bhasker C V wrote: Hi all, I have a server where there is a USB SCSI disk with lots of important data. The only problem is accidentally people try to understand some other similar ide-scsi disk (sdb may be) as the first one (sda) and delete data. I was going to find out if there is any method so that I can make a disk (a particular device) read-only. i.e in case I insert this disk with very important data, I must be able to make this disk (may be scanned as sdX) as readonly so that people are only able to see the partition, mount it and use it ratherthan try to accidentally delete data which will result in disk reporting it as read-only [ PS: I am not referring a workaround of mouting a partition read-only which can still help, but i want the whole disk to be made read-only ] # hdparm -r You might have to crack open the USB enclosure and physically install the drive in a PC in order for this to work. -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Is this possible ?
hi all, This did not occur to me for a long time since y'day i noticed this : $ sudo e2fsck -f /dev/hda1 e2fsck 1.41.2 (02-Oct-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /boot: 49/48192 files (26.5% non-contiguous), 57798/96358 blocks $ sudo file -s /dev/hda1 /dev/hda1: LVM2 (Linux Logical Volume Manager) , UUID: XX it shows hda1 as lvm volume but is able to mount it in /boot as an ext3 file system. Also the e2fsck succeeds. how do i restore hda1 to be a normal ext2 linux partition PS: fdisk also shows hda1 as type 'linux' -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Re: Is this possible ?
Mike Bird wrote: On Fri January 30 2009 14:46:19 Bhasker C V wrote: it shows hda1 as lvm volume but is able to mount it in /boot as an ext3 file system. Also the e2fsck succeeds. e2fs looks at the beginning of the partition, lvm and md look at the end. how do i restore hda1 to be a normal ext2 linux partition pvremove will remove the LVM label from the end of the partition. You might want to backup the data first, just to be safe. --Mike Bird Great ! it worked ! thanks Didnt know though that PV looks at the end of the partition (new learning) -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Empathy looking for mission-control at a wrong path
Hi all, I was using empathy for gtalk. It was working fine but suddenly i get an error something like this Failed to execute program /usr/local/libexec/mission-control: Success (23) I do not know where it is taking up this path and this path does not exist in my system. should i have to create it ? -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
using modem with phone
Hi all, I tried to google around but could not even get a match near to what i want. In fact i am running short of terminologies to exactly define what i want. What i want is, i want to use the internal modem of a system to work as a PSTN gateway so that i can control my telephone when connected to my modem. This way, i can make my telephone ring through my software. I can re-route my audio in/out to the phone. Is this possible ? does the modem protocol support this ? thanks -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: File system for linux and windows
On Sat, 23 Jan 2010, Bhasker C V wrote: Camaleón wrote: On Fri, 22 Jan 2010 22:28:26 +, Bhasker C V wrote: (...) So, the question... what FS to use which is good and reliable in both windows and also linux ? Is there any file system in linux which can work in windows also (meaning it can be read and optionally written-to in windows even if the FS is not in a partition) ? I wonder if nowadays UDF could be used to deal with this problematic :-? Tried it. UDF from udftools(1.0.0b2 ) on etch creates an UDF which is not working with windows. I am then left only with an option to use the backup only with linux. For data in windows, ntfs partitions can be mounted in linux and then copied over to the backup disk. The external disk can _only_ be used in linux and not in windows. Finally found issue was with the SATA to USB converter which has issues when used for a long time period and heats up. Once I moved to another USB casing things starting falling in place. So, it is a hardware issue TO SUMMARISE the best way to do it (if i can call it that) would be to use ntfs. Ntfs supports most of the 'features' you would like to have after using ext2/ext3. NTFS (both kernel one and the ntfs-3g) works fine and can be used without any data loss issues if properly and carefully used. Greetings, -- Bhasker C V Registered Linux user: #306349 (counter.li.org) Fedora Ambassador: Bhaslinux Bhasker C V Registered linux user #306349
file showing wrong information ?
Hi all, I have this partition table in my system >>>>>>>>>>>>>>>>> Disk /dev/hda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 12 96358+ 83 Linux /dev/hda2 13 134 979965 82 Linux swap / Solaris /dev/hda3 135 1216196606877+ 8e Linux LVM >>>>>>>>>>>>>>>>> But when i do a file on the hda1 partition, it says its an LVM >>>>>>>>>>>>>>>>> $ sudo file -s /dev/hda1 /dev/hda1: LVM2 (Linux Logical Volume Manager) , UUID: GzJ8F13ynmOOgrGdfJ34qXfWFHyGKmu >>>>>>>>>>>>>>>>> I am sure that i have not created a PV in that partition and it is my /boot file system mounted properly as below >>>>>>>>>>>>>>>>> $ mount |grep hda1 /dev/hda1 on /boot type ext3 (rw) >>>>>>>>>>>>>>>>> Is file command buggy ? -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said "Requires Windows 95, NT, or better", so I installed Linux. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
hosts based open ssh authentication
Hi all I have a system in a cluster (experimental) and there are a lot of debian machines which depend on this system and must be able to ssh into this system I wanted password-less authentication and looked on the internet. Almost all the examples and help shown involves setting up ssh_known_hosts which I am trying to avoid (cumbersome in a large network where we dont know who will need access). Anyone got this working just plain without adding known hosts ? I do not want to add each and every host to ssh_known_host. Essentially I want to have an open access to one of the servers via ssh. I tried running sshd as root and adding auth sufficient pam_rootok.so to pam ssh and login but that did not help. Thanks Bhasker C V -- 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/54b4.2050...@unixindia.com
Kernel crash 3.17.2 unable to use kvm
Hi, I tried to compile the latest kernel 3.17.2 and when loading kvm_intel, the kernel crashes (not catastrophically but as below) and kvm_intel never works. The old kernel 3.14.x works fine but I dont want to use an older kernel as a solution to the current issue. Can somebody help to tell me if this is an environment issue or a real kernel bug ? This is a DELL D620 with core2duo T5520 (vmx enabled) Thanks --- [ 349.007575] general protection fault: [#1] SMP [ 349.008516] Modules linked in: kvm_intel(+) kvm ctr ccm cpufreq_userspace cpufreq_conservative cpufreq_stats cpufreq_powersave bnep rfcomm autofs4 nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc xts gf128mul fuse dm_crypt arc4 b43 bcma mac80211 i915 joydev iTCO_wdt iTCO_vendor_support dell_wmi rndis_wlan coretemp dell_laptop sparse_keymap ppdev microcode psmouse rndis_host dcdbas cdc_ether serio_raw cdc_phonet evdev i2c_i801 usbnet phonet cdc_acm ecb btusb mii lpc_ich mfd_core bluetooth yenta_socket pcmcia_rsrc cfg80211 snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_controller drm_kms_helper drm snd_hda_codec snd_hwdep snd_pcm rng_core wmi snd_seq irda snd_timer snd_seq_device snd rfkill battery button shpchp crc_ccitt tpm_tis parport_pc parport video ac tpm i2c_algo_bit i2c_core soundcore processor ext4 crc16 jbd2 mbcache usbhid sg sd_mod crct10dif_generic sr_mod cdrom crc_t10dif crct10dif_common ata_generic ssb ata_piix uhci_hcd tg3 ptp mmc_core pps_core libphy pcmcia pcmcia_core thermal thermal_sys [last unloaded: pcspkr] [ 349.008516] CPU: 0 PID: 3604 Comm: modprobe Not tainted 3.17.2-bcv #1 [ 349.008516] Hardware name: Dell Inc. Latitude D620 /0FT292, BIOS A08 04/03/2007 [ 349.008516] task: 880073f08de0 ti: 880073eb task.ti: 880073eb [ 349.008516] RIP: 0010:[] [] hardware_setup+0x303/0x3e0 [kvm_intel] [ 349.008516] RSP: 0018:880073eb3d00 EFLAGS: 00010202 [ 349.008516] RAX: 0401e172 RBX: 0200 RCX: 048b [ 349.008516] RDX: 7799fffe RSI: RDI: f7ff [ 349.008516] RBP: R08: 1fff R09: 880073eb3cec [ 349.008516] R10: 0004 R11: 0002 R12: a072a500 [ 349.008516] R13: 3f80 R14: R15: 880073eb3f08 [ 349.008516] FS: 7fe51d656700() GS:88007f40() knlGS: [ 349.008516] CS: 0010 DS: ES: CR0: 8005003b [ 349.008516] CR2: 7f1fd003b000 CR3: 738b3000 CR4: 07f0 [ 349.008516] Stack: [ 349.008516] 0040 a072a500 3f80 [ 349.008516] a069d83f fff4 [ 349.008516] a0731752 81816040 a07318ea [ 349.008516] Call Trace: [ 349.008516] [] ? kvm_init+0x45/0x242 [kvm] [ 349.008516] [] ? vmx_check_processor_compat+0x5a/0x5a [kvm_intel] [ 349.008516] [] ? vmx_init+0x198/0x8ae [kvm_intel] [ 349.008516] [] ? vmx_check_processor_compat+0x5a/0x5a [kvm_intel] [ 349.008516] [] ? do_one_initcall+0xe3/0x162 [ 349.008516] [] ? __vunmap+0x9e/0xab [ 349.008516] [] ? load_module+0x18fd/0x1efe [ 349.008516] [] ? load_module+0x1932/0x1efe [ 349.008516] [] ? kernel_read+0x3b/0x4e [ 349.008516] [] ? copy_module_from_fd+0x92/0xea [ 349.008516] [] ? SyS_finit_module+0x51/0x5c [ 349.008516] [] ? SyS_finit_module+0x51/0x5c [ 349.008516] [] ? system_call_fastpath+0x16/0x1b [ 349.008516] Code: 00 0f 32 81 e2 8c 9e d9 e3 b1 8b c7 05 b7 91 ff ff 72 e1 01 04 81 ca 72 e1 01 14 c7 05 9f 91 ff ff 72 61 00 04 89 15 9d 91 ff ff <0f> 32 81 e2 c1 00 00 00 80 3d b4 8e ff ff 00 c7 05 7c 91 ff ff [ 349.008516] RIP [] hardware_setup+0x303/0x3e0 [kvm_intel] [ 349.008516] RSP [ 349.127085] ---[ end trace e0b62efdc2f6864a ]--- -- 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/CAPLCSGD8T88pKQ4PSGKaMP3=8bsQORb49y3Gqib1hLggETD=o...@mail.gmail.com
cyrstalHD with debian
Hi all, Its been 2 days since I have tried to compile every flavor of mplayer (mplayer, mplayer2 with stock ffmpeg and the ffmpeg download from the ffmpeg site) but none of them are compiling cleanly. It is as-though mplayer is not being maintained for crystalHD Coming back to the default debian installation with custom kernel (3.5.3) I end up in a situation that mplayer jitters for HD video (1080p) although windows runs fine and smooth video using the crystalHD decoder. I downloaded the drivers from Broadcom site and compiled them for my system. I get this in the dmesg when the driver is loaded. [ 7264.855548] Loading crystalhd 3.2.0 [ 7264.855608] Starting Device:0x1615 [ 7264.855665] bar0:0x9080-0x0001 bar2:0x9000-0x0080 [ 7264.856832] i2o_addr:0xc90010a4 Mapped addr:0xc9001130 [ 7264.857821] opening HW [ 7264.857832] crystalhd_hw_open: setting up functions, device = Flea [ 7264.936173] Opening HW. hw:0x880070cfcc00, hw->adp:0x8800629acb80 [ 7264.936182] Closing HW Despite this the stock mplayer has issues from what I can see in the below command output. my lspci output has this 01:00.0 Multimedia controller: Broadcom Corporation BCM70015 Video Decoder [Crystal HD] $ /usr/bin/mplayer -vc help | grep -i crystal ffmpeg2crystalhd ffmpegworking FFmpeg MPEG-2 (CrystalHD) [mpeg2_crystalhd] ffdivxcrystalhd ffmpegproblems FFmpeg DivX ;-) (MSMPEG-4 v3) (CrystalHD) [msmpeg4_crystalhd] ffwmv3crystalhd ffmpegproblems FFmpeg WMV3/WMV9 (CrystalHD) [wmv3_crystalhd] ffvc1crystalhd ffmpegproblems FFmpeg WVC1 (CrystalHD) [vc1_crystalhd] ffh264crystalhd ffmpegworking FFmpeg H.264 (CrystalHD) [h264_crystalhd] ffodivxcrystalhd ffmpegworking FFmpeg MPEG-4,DIVX-4/5 (CrystalHD) [mpeg4_crystalhd] Has anyone got HD video smoothly running on a Atom N550 based system which has a crystalHD decoder in it ? Any help will be appreciated. Thanking in advance. Debian version and other information $ cat /etc/debian_version wheezy/sid $ uname -r 3.5.3-bcv it is running x86_64 architecture kernel and system. [PS: Please also include my mail address (reply-all) on the reply] -- Bhasker C V Secure Mails: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D05FEEC54E47413 -- 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/5044c4ce.5020...@unixindia.com
problems with bridge name
Hi all, For some reasons, I have chosen the bridge interface name as 'he' in my previous machine which is running livirt now. I am creating a new machine so that I can do live migrations using libvirt. From wheezy I am seeing that in /etc/network/interfaces, using interface name as he causes issues. Any other name works but the command ip link set dev he up fails if the interface name is he. ??? Has anybody come across this issue ? Can somebody tell me if there is anything wrong with what I am doing ? /etc/network/interfaces auto he iface he inet static address 192.29.240.53 netmask 255.255.255.0 gateway 192.29.240.1 dns-nameservers 192.29.240.1 dns-search uscablehe.net pre-up brctl addbr he pre-up brctl addif he eth0 pre-up ifconfig eth0 0 This fails
RAID: one disk missing when creating the array
Hi, I created an array /dev/md0 --level=5 --raid-devices=4 /dev/sd[bcde] I get this in mdstat root@nas:/nas/secure/KEY# cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] md0 : active raid5 sde[4] sdd[2] sdc[1] sdb[0] 5860148736 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_] [>] recovery = 1.9% (38611052/1953382912) finish=973.1min speed=32793K/sec === /dev/md0: Version : 1.2 Creation Time : Tue Jun 25 21:56:10 2013 Raid Level : raid5 Array Size : 5860148736 (5588.67 GiB 6000.79 GB) Used Dev Size : 1953382912 (1862.89 GiB 2000.26 GB) Raid Devices : 4 Total Devices : 4 Persistence : Superblock is persistent Update Time : Tue Jun 25 22:20:37 2013 State : clean, degraded, recovering Active Devices : 3 Working Devices : 4 Failed Devices : 0 Spare Devices : 1 Layout : left-symmetric Chunk Size : 512K Rebuild Status : 2% complete Name : nas:0 (local to host nas) UUID : 32524f61:20ead1e3:775bf0b3:e6d8b582 Events : 825 Number Major Minor RaidDevice State 0 8 160 active sync /dev/sdb 1 8 321 active sync /dev/sdc 2 8 482 active sync /dev/sdd 4 8 643 spare rebuilding /dev/sde unused devices: where I see 0,1,2,4 as devices (3 is missing) Am I doing anything wrong ? Can someone tell me how to fix this please ? thanks I even tried a mdadm --remove /dev/sde and an add /dev/sde -- Bhasker C V Secure Mails: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D05FEEC54E47413 -- 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/51ca09ff.8080...@unixindia.com
USB mounts not presistent
Hi all, In the latest wheezy install of debian (K 3.2.0-2-amd64) I am finding that unlike before, when a USB disk (especially a USB external 2.5" harddisk) is mounted, it is not persistent after a suspend resume. Has anyone faced this in wheezy or am I missing anything here ? The same is happening with the case of cryptsetup devices using USB where the dm-crypt device mapper mapping is still present but the USB device link is dead ! -- Bhasker C V Secure Mails: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D05FEEC54E47413 -- 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/4ff73a29.2090...@unixindia.com
IRQ conflict IRQ0 network card.
Hi, I have a old PC (AMD athelon 3000+) which has an onboard network card (gige-tg3) kernel 3.5.0 debian squeeze. 03:16.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 86) When I do an ifconfig eth1 up (eth0 is another external card) I get this error [ 408.536851] genirq: Flags mismatch irq 0. 0080 (eth1) vs. 00015a20 (timer) I tried to google for this but could not get any good fix information for this issue. The card is not working as of now but was working fine with FreeBSD kernel. Has anyone encountered this before I have tried hpet=none (just to score off the hpet IRQ and this card IRQ clash) I have tried pci=biosirq When I load the driver these are the messages [ 803.569255] tg3.c:v3.123 (March 21, 2012) [ 803.631887] tg3 :02:00.0: eth1: Tigon3 [partno(BCM95789) rev 4101] (PCI Express) MAC address 00:30:1b:b9:d5:e3 [ 803.631895] tg3 :02:00.0: eth1: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) [ 803.631899] tg3 :02:00.0: eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] [ 803.631903] tg3 :02:00.0: eth1: dma_rwctrl[7618] dma_mask[64-bit] When I do a ifconfig up I get this message [ 823.525509] genirq: Flags mismatch irq 0. 0080 (eth1) vs. 00015a20 (timer) IF anyone has got an experience dealing with this issue can you give me inputs please ? thanks -- Bhasker C V Secure Mails: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D05FEEC54E47413 -- 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/502ca944.4040...@unixindia.com
Re: Re: IRQ conflict IRQ0 network card.
Got this working. The problem was local APIC was not enabled in the bios. Once enabled everything started to fall in place. thanks all for your inputs and help On Thu, 16 Aug 2012 09:03:16 +0100, Bhasker C V wrote: > I have a old PC (AMD athelon 3000+) which has an onboard network card > (gige-tg3) kernel 3.5.0 debian squeeze. Have you tried with Debian stock kernel (2.6.32) or the backported one (3.2)? :-? > 03:16.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S > [Rhine-III] (rev 86) > > > When I do an ifconfig eth1 up (eth0 is another external card) I get > this error > > > [ 408.536851] genirq: Flags mismatch irq 0. 0080 (eth1) vs. > 00015a20 (timer) Is the network card working despite the error? I mean, kernel can be very verbose but some messages are also harmless, just informative. > I tried to google for this but could not get any good fix information > for this issue. The card is not working as of now but was working fine > with FreeBSD kernel. Ah, then the problem is for real :-( > Has anyone encountered this before Google suggests the message comes from kernel 3.5.0, I would look for any specific patch that solves this, if any. > I have tried hpet=none (just to score off the hpet IRQ and this card IRQ > clash) > I have tried pci=biosirq > > When I load the driver these are the messages > > [ 803.569255] tg3.c:v3.123 (March 21, 2012) > [ 803.631887] tg3 :02:00.0: eth1: Tigon3 [partno(BCM95789) rev 4101] (PCI Express) MAC address 00:30:1b:b9:d5:e3 > [ 803.631895] tg3 :02:00.0: eth1: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1], EEE[0]) > [ 803.631899] tg3 :02:00.0: eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] > [ 803.631903] tg3 :02:00.0: eth1: dma_rwctrl[7618] dma_mask[64-bit] The card seems to be properly detected :-? > When I do a ifconfig up I get this message > > [ 823.525509] genirq: Flags mismatch irq 0. 0080 (eth1) vs. 00015a20 (timer) What's the full output of "ifconfig eth1"? Greetings, -- Camaleón -- Bhasker C V To feel rich count all things you have in life that money can't buy. Secure mails: https://keyserver.pgp.com/vkd/DownloadKey.event?keyid=0x524E35A193ABFB8E -- 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/502d5b9b.70...@unixindia.com
Help with udev trigger
Hi, Version: buster I do a manual cryptsetup to create my home directory after system boots up I want to run fsck every time the device node is created from luks I added this udev rule ACTION="change",DEVTYPE="disk",ID_FS_UUID="cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5" RUN+="/bin/btrfsck /dev/mapper/home" But this rule is not getting triggered. Could someone help please to point out what mistake I am doing ? The following is what I get when the device is added from which I deduced the above trigger line UDEV [3110.764972] change /devices/virtual/block/dm-12 (block) .ID_FS_TYPE_NEW=btrfs ACTION=change DEVLINKS=/dev/disk/by-id/dm-uuid-CRYPT-LUKS1-f064023b1b2d41639634f5bdf2430794-home /dev/disk/by-id/dm-name-home /dev/disk/by-uuid/cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5 /dev/mapper/home DEVNAME=/dev/dm-12 DEVPATH=/devices/virtual/block/dm-12 DEVTYPE=disk DM_ACTIVATION=1 DM_COOKIE=6306419 DM_NAME=home DM_STATE=ACTIVE DM_SUSPENDED=0 DM_TABLE_STATE=LIVE DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1 DM_UDEV_PRIMARY_SOURCE_FLAG=1 DM_UDEV_RULES=1 DM_UDEV_RULES_VSN=2 DM_UUID=CRYPT-LUKS1-f064023b1b2d41639634f5bdf2430794-home ID_BTRFS_READY=1 ID_FS_TYPE=btrfs ID_FS_USAGE=filesystem ID_FS_UUID=cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5 ID_FS_UUID_ENC=cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5 ID_FS_UUID_SUB=6e20311a-a369-4929-9e40-44b63e3eb563 ID_FS_UUID_SUB_ENC=6e20311a-a369-4929-9e40-44b63e3eb563 MAJOR=253 MINOR=12 SEQNUM=2242 SUBSYSTEM=block TAGS=:systemd: USEC_INITIALIZED=3110669103
Re: Help with udev trigger
Thanks. I will try this On Fri, May 18, 2018 at 12:21 PM, Reco wrote: > Hi. > > On Fri, May 18, 2018 at 09:26:47AM +0100, Bhasker C V wrote: >> Hi, >> >> Version: buster >> I do a manual cryptsetup to create my home directory after system boots up >> I want to run fsck every time the device node is created from luks >> >> I added this udev rule >> >> ACTION="change",DEVTYPE="disk",ID_FS_UUID="cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5" >> RUN+="/bin/btrfsck /dev/mapper/home" >> >> But this rule is not getting triggered. Could someone help please to >> point out what mistake I am doing ? > > You have five mistakes here, actually: > > 1) udev rules use C-like syntax for comparison (==) and assingment (=). > Your rule tests nothing, it just assigns some values. > > 2) All udev 'attributes' have type, and you must specify it. > For instance DEVTYPE and ID_FS_UUID are ENVIRONMENT. > > 3) 'change' applies to changing device state. It's 'add' for device > creation. > > 4) RUN should go after a coma. > > 5) You're not supposed to spawn long-running processes from udev rules > directly. Utilize systemd. > > > Taking all this into the account, your rule should look like this (one > like, coma separated values): > > ACTION=="add", > ENV{DEVTYPE}=="disk",ENV{ID_FS_UUID}=="cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5",RUN+="/bin/systemctl > start my_brtfs_home_checking.service" > > Your custom service file - like this: > > [Service] > Type=oneshot > ExecStart=/bin/btrfsck /dev/mapper/home > > Reco >
Wipefs which action ?
wipefs manual says -n for both noheadings and "no action" the no-headings must be -i
Improper visuals after update
Hi, After an update I see that my dialog boxes are looking weird. I cannot describe it but it looks as-if the contrast is lost or the theme is not supported ? The boucing bars have gone missing but mouse over and clicks work. This is especially bad with nm-applet. I use mate desktop If anyone knows please can they tell me how to get this fixed ? An example image is attached at https://unsee.cc/zisapuge/ Thanks in advance Bhasker C V
Re: Improper visuals after update
The image got deleted. Re-posted here https://postimg.org/image/i6c1r10pl/ On Sun, May 29, 2016 at 9:38 PM, Bhasker C V wrote: > Hi, > > After an update I see that my dialog boxes are looking weird. I cannot > describe it but it looks as-if the contrast is lost or the theme is not > supported ? The boucing bars have gone missing but mouse over and clicks > work. This is especially bad with nm-applet. I use mate desktop > > If anyone knows please can they tell me how to get this fixed ? > > An example image is attached at https://unsee.cc/zisapuge/ > > Thanks in advance > Bhasker C V >