Re: [SLUG] GoogleEarth alternative in OpenSource
[EMAIL PROTECTED] wrote: On Thursday 01 June 2006 17:46, [EMAIL PROTECTED] wrote: Hi, Any alternative in OpenSource for GoogleEarth ? Tried running in Fedora wine, but keeps on locking up. Much trying, no sucess (even with win4lin etc, fancy graphics requirements) Why wont they do as googlemars? http://www.google.com/mars/ James GoogleMars still needs a bit of work. I couldn't find a single McDonalds! -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] slmodemd
Howard Lowndes wrote: Keith Hopkins wrote: Howard Lowndes wrote: I'm trying to get slmodemd running on a Toshiba lappy. It used to work under the 2.6.15 kernel and compiles under 2.6.16 (FC5 build 2111), but won't start because the slamr module won't load: # modprobe slamr FATAL: Error inserting slamr (/lib/modules/2.6.16-1.2111_FC5/extra/slamr.ko): Invalid argument As far as I can make out I am working with the latest version which is about 6 months old - slmodem-2.9.11-20051101.tar.gz Has anyone got any later information, or is there any way I can diagnose it deeper? Hi Howard, Did the slamr code change? No, the code has not changed, but the kernel has. The kernel change cause me some problems in other modules I need to compile such as wifi drivers and asterisk, but there they wouldn't compile until I changed the code in the module; in the case of slamr it compiles but won't load. If so, I'd check /etc/modprobe.conf* for any "option" lines for slamr to be sure they are still valid with the version of slamr you are using. There are no options required for slamr in /etc/modprobe.conf Does `insmod /lib/modules/2.6.16-1.2111_FC5/extra/slamr.ko` produce anything different? anything in `dmesg`? Yes, it does: slamr: module license 'Smart Link Ltd.' taints kernel. slamr: falsely claims to have parameter debug Does this offer a clue? Yes, Here's what looks to be the fix: http://www.redhat.com/archives/rhl-list/2006-May/msg02713.html P.S. Google is your friend. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] slmodemd
Howard Lowndes wrote: > I'm trying to get slmodemd running on a Toshiba lappy. > > It used to work under the 2.6.15 kernel and compiles under 2.6.16 (FC5 > build 2111), but won't start because the slamr module won't load: > > # modprobe slamr > FATAL: Error inserting slamr > (/lib/modules/2.6.16-1.2111_FC5/extra/slamr.ko): Invalid argument > > As far as I can make out I am working with the latest version which is > about 6 months old - slmodem-2.9.11-20051101.tar.gz > > Has anyone got any later information, or is there any way I can diagnose > it deeper? Hi Howard, Did the slamr code change? If so, I'd check /etc/modprobe.conf* for any "option" lines for slamr to be sure they are still valid with the version of slamr you are using. Does `insmod /lib/modules/2.6.16-1.2111_FC5/extra/slamr.ko` produce anything different? anything in `dmesg`? --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] DIFF utilities that output in HTML?
DaZZa wrote: Sluggers. Anyone know of any DIFF-type utilities that output results in HTML? Basic HTML format pages with, for example, two columns with colour highlights displaying the differences? I need to get some comparison of some text config files for idiots who can;t use a decent text editor. rfcdiff might do the trick for you. http://tools.ietf.org/tools/rfcdiff/ --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] mplayer install probs..
Charles Myers wrote: On Wed, 2006-05-03 at 22:18 +1000, Steve Kowalik wrote: On Wed, 03 May 2006 21:53:06 +1000, Charles Myers uttered Damn... I'll try compiling it myself and see what happens.. dont know about that lib that I'm missing though :/ Do you have the multiverse repository enabled? That's where mplayer and some of its dependencies live. Thanks, -- Steve Yeah I do.. But Ill double check.. thanks... Hey Charles, I installed mplayer on breezy just the day before yesterday. The tough part for me was determining which repository was the right one. I had to add this to my sources.list deb http://au.archive.ubuntu.com/ubuntu breezy multiverse deb-src http://au.archive.ubuntu.com/ubuntu breezy multiverse After that, install was a 'beeze'. --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Newbie -> Can't execute anything I've downloaded
Josh Shone wrote: Hello, first e-mail: Trying to get Firefox 1.5 and Frostwire on to my Kubuntu 5.10 install. Firefox comes in a tar.gz, Frostwire in a .deb package. Firefox: I un-tar Firefox, and it apparently should run straight out of the folder, but nothing in there will run. Permissions on everything says it's owned by me (not root) with read and write, and Is Executable. There's no installers that i can see in the folder. Got it straight from getfirefox.com because Adept only has firefox 1.0.7. I had mandrake 9.2 on and did the same thing, ran firefox fine. I'd suggest that the firefox binary is not found in the PATH, and you are not giving the full path name for the executable. Try running it from konsole with the full path name include, something like /usr/local/firefox/firefox Frostwire: Downloaded it from frostwire.com with the Debian/Ubuntu link, I right-click on the .deb and go to "Kubuntu Package Manager" -> "Install Package". Does it's thing. Frostwire is now in my K Menu, but when I go to open it, it loads for a bit, then nothing. Disappears. Permissions on anything to do with Frostwire (with a search) is owned by root, owner can read and write, I can only read and is executable. (I don't know how to log is as root to adjust these permissions, can't do it when logging in and I'm having trouble logging in from a terminal << I don't know if that can help...) Try running it from konsole, and see if it is generating any error (Seg Fault, missing libs, etc). -- Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] CD Question...
Charles Myers wrote: Another noob question (one in which google has given me no answers :( ) I have a Pioneer 109D (dual layer dvd burner), when I try and burn with it, it wont recognise blank CDs/DVDs I put in (keeps telling me to insert a writable disk). It reads ok its just the burning. ;? Any you guys have any experience with one of these beasties or issues around CD/DVD burners such as this? btw I know the disk is ok, as I have another machine with a Pioneer 106 in it and it burns no problems. Back in the beginning, I had lots of problems with my 109D, including some blanks it would not recognize. I think most of my problems were firmware related. Try updating to 1.57. I also think I've toasted my 109D by uploading the 1.58 US firmware to it. The Pioneer AU site only has 1.57 at last glance. So, now I have a Sony external DVD writer, and a 110D, and a large paperweight. --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] bittorrent clients
cmyers wrote: Just asking some advice on what BT clients you guys use? I have tried Azuerus and found it so slow it was a joke. So I thought I would throw the question out to see what people recommend. Azuerus. What is slow about it for you? Running or downloading? Running could be a java problem. Downloading is probably a config problem. At first I had some problems on the downloading side, but after learning how to tweek it to fit my bandwidth, it roars. Good stuff on the azuerus wiki about this. The only thing I don't like it is that it is tied to the gui (ya can't leave it running after you log off). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: FW: [SLUG] hylafax
Phill O'Flynn wrote: Apparently the problem lies in the ip_tables.config Hylafax seems to work if I do this: > modprobe ip_conntrack > modeprobe ip_conntrack ports=21,4559 > modeprobe ip_nat_ftp ports=21,4559 but this does not persist across reboots. How do I do this? For a 2.6 kernel, and I know this works in SuSE 9/10, modify /etc/modprobe.conf.local and add options lines like: options ip_conntrackports=21,4559 options ip_nat_ftpports=21,4559 You might need to `depmod -a` to make this have effect. The next time you insert these modules (modprobe or insmod), it will use these port values. --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] apache2 rewriting
Peter Chubb wrote: "Richard" == Richard Heycock <[EMAIL PROTECTED]> writes: Richard> I've got a copy of mediawiki running in apache2 at Richard> /wiki. What I want to do is to set up a virtualhost called Richard> wiki and lose the /wiki eg Richard> http://thor/wiki --> http://wiki Richard> Can anyone tell me how to do this? I've tried using Richard> mod_rewrite but I I've been going round in circles Richard> (literally) trying to fix this. Don't you just set up a virtualhost as usual, with its DocumentRoot pointing at /full/path/to/wiki and CGIBin etc., set appropriately? You need a vhost to make "http://wiki"; and a rewrite rule under thor (not under wiki). Try using "RedirectMatch [status] regex URL" -- Keith smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] iPAQ 6365 sychronisation via USB with Linux - Suse 9.0 (AMD 64)
Hi Nick, I've had good luck with my hx4700 + synce + multisync over USB to sync with Evolution's calendar under SuSE93/32bit. I highly suggest upgrading from 9.0 to 9.3 (2.6.11 kernel) if you don't have any demand for 9.0. I'm working on getting it to work over bluetooth now. -- Keith Nicholas Tomlin wrote: Sluggers, I've acquired a HP 6365 PDA and wish to be able to sync it with the onboard calendar, etc. Does anyone know how to do this without using the Blue Screen of Death? I've tried multi sync, palm sync, etc, none of them appear to be recognised by the iPAQ unit. Looking forward to some help. Regards, Nick Tomlin. begin:vcard fn:Keith Hopkins n:Hopkins;Keith email;internet:[EMAIL PROTECTED] tel;cell:+61-412-255-386 x-mozilla-html:FALSE url:http://www.hopnet.net version:2.1 end:vcard -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Wireless PCMCIA and PCI Adapters
James Gray wrote: I'm posting this from a Kubuntu-lappy with a DLink DWL-G650 (hardware revision C3) PCMCIA card. It's an Atheros-based card and works well with the madwifi drivers. In fact it's a "super atheros" chipset whatever the hell that is - I think it means you can get 108Mbps under ideal circumstances with a supported access point (assuming the planets are aligned correctly and the phase of the moon is right and you hold your tongue just so, and). From what I've read, the 'Super 108Mbps' is channel bonding in the wireless world. Your card and AP try to talk on two non-overlapping channels at the same time to double your bandwidth. Of course, that means fewer channels and less bandwidth available for your neighborsunless you forgot to enable security on your AP. :) --Keith smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] finding a file
While not 'quick & dirty', I ran across a nifty utility I refer back to every once in a while called the "3D FileSystem Profiler". It will take the specified directory, and create a 3D NAVIGATABLE chart of of directories/files showing file sizes/number of files. http://visualversion.com/profiler/index.html Another along the same line is kdirstat, "Graphical Directory Statistics for Used Disk Space" --Keith Ben Donohue wrote: Voytek wrote: I'm trying to find a specific file withing a web tree, what the way to do it: I tried this with no luck # locate /home/domain.org.au localconf.php only to get find: localconf.php: No such file or directory Further to this (and this is not an answer to the question above) but I'm buggered if i can find the largest files on the hard disk and list them in order. I've tried various arguements but can't seem to crack it. like find / -S -r (or -s) -name xxx|more Any ideas out there? Ben smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] running Konqueror as non-root + lan:/ ioslave + "illegal" port assignment for NFS
Hi folks, When I run Konqueror as non-root, and try to access non-insecure NFS mount points, I get "illegal port" messages on the NFS server (and the mount fails) because Konqueror is running as non-root and tries to connect with a non-standard (high) port. Is there any "safe" way to configure Konqueror so it can start the LAN browsing ioslave in priv mode? Or is the only alternative to set-uid root the Konqueror binary? -- Keith smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] OT: managers secretly reading users emails
Robert Collins wrote: > On Fri, 2005-02-18 at 07:22 +1100, Ben Donohue wrote: > >>Hi Slugs, >> >>Not exactly Linux questions but I've been asked by management to allow >>them to seretly read users emails and a few questions are poping up. >> >>What is the legal position on the ownership of emails between members of >>the company and betwen members and those outside the company? >>If such emails are owned by the company is management entitled to read >>users emails at their discression? >>If emails are owned by the company may management monitor users emials >>in real time, without prior warning from management? >>If individuals of the compamy have not been appraised of the policy, >>what is their legal standing in the company if they have not been >>appraised of the policy? >> >>etc. you get the drift. Any comments from the many sysadmins here? >>Ben > > > > You /* really */ need legal advice on this. From when I was > sysadminning, in Australia, emails are communications - and may be > private or public - private ones are no more owned by the company than a > letter from a pad on my desk to a friend of mine; and there is a strong > expectation of reasonable privacy in the workplace. Management are > absolutely not able entitled to read emails at their discretion : > consider a complaint to HR by an employee about their manager ... that > manager has no right to intercept that email! > > Having a policy about this helps, but if you policy is illegal, expect > to have the workplace relations folk on your arse with a 4x2. > > Rob > One thing to consider is, does your company require the worker bees to sign Intellectual Property waivers / contracts? All your IP are belong to us. It can be very draconian. By agreeing to the one at where I work, I've basically given up all rights to everything I think, on or off the clock. This of course, extends to e-mail, making all my e-mail company property. (I have no idea just how enforceable this is. Oh yeah, IANAL, all disclaimers apply.) smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Gday slugers
Paul Ford wrote: I was wondering if any one could tell me how I could use at to schedule wget to download a file from the web? Step by step instructions if possible. Wow, only 15% content by volume. Not a good buy in fruit juice, nor e-mail. [other 85% snipped off] smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] sco site
moise lim wrote: anybody still awake this time of the nite??? check out http://www.sco.com boy oh boy.. defacement at it's best :) i'll try to save a copy of it .. but then it's better to check it out uself :) What, no "All Your Code Are Belong To Us"? Hehehe, I almost missed at first glance. smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] new laptop: bios cant see dvd/cd - so cant boot, so cant install linux.
Broun, Bevan wrote: Hi all I got myself a nice new laptop on the weekend. Dying to install linux on it but cant as the bios cant see the dvd/cdrom and so I cant boot ANY cd from this device. The laptop is badged pioneer but it is a mitac 8355 (athlon 64 bit, 1GB RAM). The bios is Insyde Mobile Pro Bios 4.00.05 (R1.01?). XP detects the dvd rw as teac dv-w22e. It is basically this: ttp://www.tuxmobile.org/xeron_sonic_pro_800mx.html Anybody see similar problems? Am I lookiing at a bios upgrade? Any ideas please. FWIW, I have a totally different laptop (which I will happily trade for yours), and I have to turn on "Legacy" USB support in the BIOS before I can boot from any USB device. smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to rename partitions
Rod Butcher wrote: Hello sluggers, if I want to change the name of a drive & partition from say hda1 to sda1, what do I need to do in addition to updating /etc/fstab ? If I just change fstab and try to boot a kernel using libata to access SATA drives, it can't find /dev/sda. thanks Rod Hi Rod, You can't just "change it" for the sake of changing it. The device name is (for the most part) assigned by the driver that controls that device. Once upon a time, SATA drives fell under the /dev/hd* model. If your kernel has that set of drivers, then you are stuck with /dev/hda, /dev/hda1, etc. I've heard (but not confirmed) the latest 2.6 SATA drivers do live under /dev/sd* instead of /dev/hd*. You'll need to confirm the your kernel actually supports it. Try booting your kernel into single user mode, and looking at dmesg to see how it maps the drives. You might even manage a `fdisk -l` smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Postfix + MySQL
Jon Austin wrote: Hey, I have tried to get MySQL and postfix to talk to each other on Debian stable. The problem I have is when Postfix tries to connect to MySQL, it has issues. Oct 28 15:03:09 sheadoffice-bne postfix/trivial-rewrite[27803]: warning: connect to mysql server localhost: Can't connect to local MySQL server throug h socket '/var/run/mysqld/mysqld.sock' (2) Oct 28 15:03:09 sheadoffice-bne postfix/trivial-rewrite[27803]: fatal: mysql:/etc/postfix/mysql_virtual_alias_maps.cf(0,100): table lookup problem Now I can use the mysql client with the same username and password and connect successfully. I can also connect successfully using mysql --socket=/var/run/mysqld/mysqld.sock I've tried getting postfix to talk via 127.0.0.1 and also the real IP address of the machine. I've also tried using 'unix:/var/run/mysqld/mysqld.sock' as the "host" in the postfix virtual mapping. I'm stumped and very frustrated. Any suggestions? Well...on my machine (SuSE9.1/mysql Ver 12.21 Distrib 4.0.15), it is /var/lib/mysql/mysql.sock I'm using mysql as the local_recipient_maps source (w/ dbmail). Default socket is /tmp/mysql.sock, so double check the socket value in /etc/my.cnf under [mysqld] Has this ever worked for you? Are you sure postfix has mysql support compiled in? (I had to recompile postfix w/SuSE to get it.) smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Postfix Question
Howard Lowndes wrote: > I'm running Postfix with virtual mailboxes and virtual mainbox domains > and it runs fine using the virtual delivery agent. > > So, how do I get it to deliver via Procmail to this same virtual > mailboxes. > It kind of depends on what you are trying to accomplish. Assuming you only want procmail to mangle/filter stuff, and let postfix handle the actual delivery, then it is possible by having Postfix feed procmail (like a milter), then procmail simple hands the mangled msg back to postfix for final delivery. Consider using the "content_filter=" method in master.cf for the redirection. http://www.postfix.org/SMTPD_PROXY_README.html http://www.postfix.org/FILTER_README.html If you are asking can procmail deliver directly to the virtual mailbox? then I'd say 'No' meaning simple that procmail doesn't understand Postfix's virtual mailboxes. smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] xine will no longer play video on FC2
Linley Caetan wrote: running FC2 on x86 hardware. xine ran with no problems on FC1 but FC2 upgrade has sound but no video, just a green screen Don't use FC-anything, but it sounds like it might be an overlay problem. Check that your agpgart and it respecive chipset module is getting loaded (lsmod). You might compare your XF86Config files from before and after the upgrade (assuming both are XFree86, not sure what Xorg is using, of if FC is Xorg/XFree86). Lastly, try a different video mode in xine. xvidix/xv/X11/etc. smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] matrox video cards
Dean Hamstead wrote: any comments on the Matrox Parhelia I saw an in-store demo several months ago at a retail store in Tokyo. At first I though, "wow Matrox is still around", then "Parhelia is a funny name" and then my jaw hit the floor as the demo cranked up. Very, very nice. Alas, the demo was in winbloze and was only single-head. smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: LVM Re: [SLUG] Re: Resizing XFS paritions?
LVM is in 2.6. It just isn't called LVM :P It is now known as the 'device mapper' (a.k.a. dm-mod). Required lvm-tools to be useful. DEVICE-MAPPER P: Joe Thornber M: [EMAIL PROTECTED] L: [EMAIL PROTECTED] W: http://www.sistina.com/lvm S: Maintained Ben de Luca wrote: LVM is not in the 2.6 kernel series? is that correct? On 09/10/2004, at 10:20 AM, Keith Hopkins wrote: Jon Austin wrote: FYI, I ended up deleting hdc1 and hdc2, recreating hdc1 as the full disk size. Then running lilo for good measure, and rebooting. The parition remounted fine, and running xfs_growfs / grew the filesystem as necessary and df reports the correct parition sizes. On Mon, 4 Oct 2004 16:45:43 +1000, Jon Austin <[EMAIL PROTECTED]> wrote: Hello list, I'd like to resize /dev/hdc1 to take up the entire disk. I've read about xfs_growfs, but I'm worried about committing any changes without some confirmation from the list about the steps involved. Last thing I need to do is drive out to our datacenter right now. :) This is example of how (with the proper planning) LVM can be very useful. IF you had originally created LVM partitions on the disk, hdc1 and hdc2 would have actually been logical partitions (logical volumes or lv) in a volume group. You could then lvremove lv-hdc2 and lvextend lv-hdc1 with then now free space, then extend your file system, and incur no data loss on hdc1. An added benefit is this works across physical disks also (disk spanning). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
LVM Re: [SLUG] Re: Resizing XFS paritions?
Jon Austin wrote: FYI, I ended up deleting hdc1 and hdc2, recreating hdc1 as the full disk size. Then running lilo for good measure, and rebooting. The parition remounted fine, and running xfs_growfs / grew the filesystem as necessary and df reports the correct parition sizes. On Mon, 4 Oct 2004 16:45:43 +1000, Jon Austin <[EMAIL PROTECTED]> wrote: Hello list, I'd like to resize /dev/hdc1 to take up the entire disk. I've read about xfs_growfs, but I'm worried about committing any changes without some confirmation from the list about the steps involved. Last thing I need to do is drive out to our datacenter right now. :) This is example of how (with the proper planning) LVM can be very useful. IF you had originally created LVM partitions on the disk, hdc1 and hdc2 would have actually been logical partitions (logical volumes or lv) in a volume group. You could then lvremove lv-hdc2 and lvextend lv-hdc1 with then now free space, then extend your file system, and incur no data loss on hdc1. An added benefit is this works across physical disks also (disk spanning). smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] dual gateways - masqing not working
Hi David, from the HowTo Instead of choosing one of the two providers as your default route, you now set up the default route to be a multipath route. In the default kernel this will balance routes over the two providers. It is done as follows (once more building on the example in the section on split-access): It looks like you did BOTH, and have two "default" routes. If you want load balancing, I believe this is saying use the 2nd method and remove the first. David Kempe wrote: Hi Sluggers, I have a script for dual internet connections that does this: - #!/bin/bash IF1=eth1 IP1=203.219.190.106 P1=203.219.190.105 P1_NET=203.219.190.104 IF2=eth2 IP2=220.245.224.46 P2=220.245.224.45 P2_NET=220.245.224.44 IF0=eth0 P0_net=192.168.0.0 TABLE1=inet1 TABLE2=inet2 ip route add $P1_NET dev $IF1 src $IP1 table $TABLE1 ip route add default via $P1 table $TABLE1 ip route add $P2_NET dev $IF2 src $IP2 table $TABLE2 ip route add default via $P2 table $TABLE2 ip route add $P1_NET dev $IF1 src $IP1 ip route add $P2_NET dev $IF2 src $IP2 # preference for default route ip route add default via $P1 # route out a given table choose what table to route with ip rule add from $IP1 table $TABLE1 ip rule add from $IP2 table $TABLE2 ip route add $P0_NET dev $IF0 table $TABLE1 ip route add $P2_NET dev $IF2 table $TABLE1 ip route add 127.0.0.0/8 dev lo table $TABLE1 ip route add $P0_NET dev $IF0 table $TABLE2 ip route add $P1_NET dev $IF1 table $TABLE2 ip route add 127.0.0.0/8 dev lo table $TABLE2 #route balancing ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1 --- its taken straight from the lartc howto. however, it doesn't appear to be route balancing at all. I have kernel 2.4.27 with the extra route balancing patches from this page: http://www.ssi.bg/~ja/#routes Traffic into the second interface (IF2) works fine, even portforwards through that interface work fine. You can ping it from out side etc. However, no traffic from inside the network ever appears to be nated out from it, nor does traffic originating from the router box ever go out over that interface. Is there some weight better than 1 that I need to adjust? What are useful values to balance the routes evenly over the two interfaces? Or is there something I am missing. btw, the network diagram looks exactly like this one: http://www.lartc.org/howto/lartc.rpdb.multiple-links.html is there some proc magic I can query to check the kernel has all the right bits? thanks Dave smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Xorg not listening on Net
Dave Airlie wrote: Thanks John, that tipped me off and I've got it working now. For the archives, My install of Fedora Core 2 uses gdm to start X from inittab so editing startx won't do it. Instead edit /etc/X11/gdm/gdm.conf and uncomment the line saying #DisallowTCP=true and make it DisallowTCP=false This was one of those tips that turned up at the right time for me, was playing with x2x last night and needed to do the exact same thing... (probably could get x2x working over ssh...) btw x2x rocks, two PCs, two monitors, one keyboard and mouse control both just go off the edge and you are controlling the other machine... Dave. If you like what x2x can do for you, and you also have winbloze or Solaris machines, give Synergy a shot. http://sourceforge.net/projects/synergy2/ smime.p7s Description: S/MIME Cryptographic Signature -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Wins netbios name resolution in /etc/nsswitch.conf
Ryan Tsai wrote: Hi Keith, Thanks for the reply, I have wins support = no wins server = 192.168.0.9 #the wins server on the LAN In my Samba config file, I tried disabling wins on host 192.168.0.9 and enabling wins support on this box, but didn't seem to help. Just in case it's a configuration problem I also tried using identical config from these working boxes, but didn't help either. This is the global part of my smb.conf: workgroup = WORKGROUP server string = Samba server encrypt passwords = yes dos charset = CP932 unix charset = EUC-JP display charset = CP932 passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Re*new*password* %n\n *success* unix password sync = Yes log file = /var/log/samba/log.%m max log size = 50 deadtime = 15 socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 add user script = /usr/sbin/useradd %u name resolve order = wins lmhosts bcast dns lm announce = false dns proxy = no wins support = no wins server = 192.168.0.9 wins proxy = no dos filetimes = Yes dos filetime resolution = Yes print cap name = cups printing = cups cups server = localhost load printers = yes printer admin = zechs username map = /etc/samba/smbusers hosts allow = 192.168.0. 127. invalid users = root obey pam restrictions = yes pam password change = yes client ntlmv2 auth = yes message command = /bin/mail -s 'message from %f on %m' zechs < %s; rm %s I'm pulling my hair out on this one... maybe it has to do with my version of glibc Ryan Hi Ryan, A couple of quick things to remember. Wins should be enabled on one and only one server (samba or windows) at a time. If you turn on "wins support" for this host, it has to be able to resolve the names. I think this means you have to have "winbindd" running to handle the wins resolution. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Wins netbios name resolution in /etc/nsswitch.conf
Ryan Tsai wrote: Hi all, I'm having this problem that I'm unable to using wins for netbios name resolution with /etc/nsswitch.conf. Whenever I try to ping a hosts using its netbios name it almost instantly returns unknown host, putting wins in front of file and dns or just have wins by itself does not seem to help either, firewalls are disabled on all hosts. Nmbd and smbd is running, though probably not neccesary. smb.conf is setup correctly, workgroup is correct, tried either using Samba itself as the wins server or the actual Win2003 wins server. Name resolve order in smb.conf is "wins lmhosts bcast dns", if its relevant. Strange thing is this works fine on my other 2 boxes on the LAN, one running Slackware and one running FC2, all I had to do was add "wins" to the hosts resolution order in /etc/nsswitch.conf. /lib/libnss_wins.so does exists, also tried recompiling Samba and glibc, strace ping shows /lib/libnss_wins.so.2 does get loaded. Currently running Gentoo (~x86) on this box with Samba-3.0.6-r4 and Glibc-2.3.4.20040808, 2.6.8.1-ck6 kernel, glibc compiled with linux26-headers-2.6.8.1. I'm out of ideas, can anyone please advise (besides using /etc/hosts, which is the last resort)? I appreciate any help. Ryan Do you have a "wins = xxx.xxx.xxx.xxx" entry in smb.conf? (working and non-working system) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Digital TV Cards and DRM
Bill wrote: Just read the August Edition of Linux Journal. Page 46 states that in the US from beginning of 2005 it will be illegal to sell HDTV -tuner cards without DRM. How long before we are in the same boat with Little Johnnie's Free Trade Agreement making us the latest US vassal state? Sadly, I hope it is not too soon, but I fear it will surely happen. From what I've read, the ban goes into effect July 1, 2005 in the US. http://www.eff.org/broadcastflag/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] WRT54G + ADSL
Indelible wrote: I'm wondering how people with the Linksys WRT54G and ADSL use it? With a separate ADSL modem? Which one? I have a WRT54G and a Billion BIPAC-7402 ADSL modem. I'm thinking of buying a 2nd WRT54G to hack on. How do I use it? With either of my laptops, now I just need Broadcast Power :D I find it fast enough to do incremental backups across, general net access. Neighbor | WRT54G -Router- ADSL | MyDesktops -- Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Can anyone recommend a gigabit NIC?
Michael Knight wrote: Hi all, I'm thinking of purchasing a new network card and was wondering about getting a mid/lower-end gigabit one. Can anyone recommend one with good Linux support? Buffalo LGY-PCI32-GT using 'tg3' driver. 00:0f.0 Ethernet controller: Altima (nee Broadcom) AC9100 Gigabit Ethernet (rev 15) Subsystem: Melco Inc: Unknown device 0320 I've been using them for a while. I thought they may have been discontinue/replaced with a newer model, but expansys is still listing them on their site (AU$66.45) Anything based on NS's DP83820 00:0a.0 Ethernet controller: National Semiconductor Corporation DP83820 10/100/1000 Ethernet Controller I have a couple from a kuroutoshikou. They do run hot, but work well with older motherboards. --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] NIC Problem
Hi Malik, I have an idea about what is going on. It isn't a problem with the XW6000 per se, it is a problem with the switch not matching the speed/duplex setting of the XW6000. If you check your switch, I think you'll find that either auto-negotiation is turned off on that port, or it is not set at 100FD. You can see in your previous posting that XW6000 is not autonegotiating at boot, so either the switch must do it, or that port on the switch must be manually set to match the speed/duplex of the XW6000. There was a time in the not too distant past, before N-Way auto-negotiation came out, when you would have the same result as you are seeing if your machine's NIC and the attached switch were BOTH trying to auto-negotiate. (but that probably has nothing to do with this problem, but might explain why your card is not set to auto-negotiate at boot.) N-way cleared up that problem. -- Found in Sydney, Keith Malik Jayawardena wrote: Hi there, I'm having this strange network problems with some new HP XW6000 workstations. They all have a Broadcom 5700 10/100/1000 onboard NIC. All of these machines are running RedHat 7.3 with either kernel 2.4.18-18.7.xsmp or 2.4.18-27.7.xsmp and using the 'tg3' module The original HP XW6000s seem to work fine, but we've got a few new ones recently (with OS installed) where, after boot up the network is REALLY slow.. We do alot of remote X-Serving and it is really apparent. The only way to fix this problem seems to be to stop networking unload the 'tg3' module, then reload it, restart networking and then it seems to be on par with the rest of the systems we have. I've tried recompiling the new 'bcm57xx' module and running it, which works fine, but it has the same effect on boot as the 'tg3' driver. And yes, I have updated my modules.conf and it does install the new module on boot. But still is slow until the module is reloaded. This is the output I've gotten from ethtool & mii-tool. The are somewhat different before and after reloading: After boot(Slow): # mii-tool eth0: 100 Mbit, full duplex, link ok # ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: off Supports Wake-on: g Wake-on: d Link detected: yes After Module Reload(Quick): # mii-tool eth0: negotiated 100baseTx-FD, link ok #ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Link detected: yes I'm guessing it's a startup script kind of problem or something like that, but instead of tediously hunting through them, if someone is familiar with this problem or has some idea of what's going on any help would be greatly appreciated. Cheers and thanks muchly, Mal -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] sendmail to sendmail on same machine
Grant Parnell - EverythingLinux wrote: The principle is this [inbound email to test@.com.au] | | 192.168.1.4:25 [sendmail.cf.listen.milter-sender] | | 127.0.0.1:25 [sendmail.cf.listen.kavscanner] | | lmtp [sendmail.cf.cyrus] | | cyrusv2 [/x/imap/t/user/test/*] Now... telnet to 127.0.0.1 port 25 and it works, does the virus scan and delivers to cyrus mailbox so that half's just fine. I've been frustrated for the last several hours trying to figure out ways of getting the sendmail daemon listening on ip 192.168.1.4 to forward succussful messages onto 'localhost'. Alternatives may be using another MTA that has the features of milter-sender, such as postfix. I haven't looked into that, I'd imagine it shouldn't be a problem to interface with cyrus but what I don't know is if it's going to be a similar problem. Alternately... I could use BOTH! Hi Grant, I've never tried doing this exact thing, but I'd like to help. What exactly are you seeing happen when it tries to forward to localhost? What config option are you using to tell it to do so? How are you restricting each instance of sendmail to a specific interface? Suggestion: move the "localhost" sendmail instance up to a different port. For instance, on my system, spamassassin sits up on port 10024, and I feed it there, and it returns msgs back to a sendmail (well, postfix actually) instance listening on port 10025. --Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] blocking port 80 on firewall.
Ken Foskey wrote: > On Sun, 2004-05-02 at 17:08, Ken Foskey wrote: > > >>>And How do I block port 80 on eth1 using ipmasq (ipchains) under >>>debian. >> >>All I need to do now is figure out how to ensure the proxy is used. > > > Turns out that I am using iptables (K 2.4.26) I think this command > should do the drop that I want. > > iptables -A INPUT -j DROP -p tcp -d 0/0 --destination-port www > > Is this right, will is stop squid going out? > Where do I put this in the startup to make it work? > Instead of blocking port 80, you could also consider redirecting it to the port used by squid. Something like: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 This works for me (transparent proxying) under SuSE. -- Found in Sydney, Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Is SATA a viable upgrade for aging Linux workstations?
David wrote: for those of us who aren't up with the latest acronym, what exactly is PATA and SATA, and should I already know?? You should already know ;) ATA is/was the "new" name for IDE (Integrated Drive Electronics). ATA (Advanced Technology Attachment) is the official ANSI (American National Standards Institute) name for IDE. S/P are Serial and Parallel, respectively. SATA is the "new" technology, and since it has come into use, we had to start using PATA (instead of IDE) to tell them apart. So, generally speaking, they are the names for the interfaces connecting your mainboard to your hard drive. Older technology used names like RLL, MFM, ESDI. Still commonly used on high end systems are SCSI and sometime FC and FC-AL (Fibre Channel-Arbitrated Loop). -- Lost in Tokyo, Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] fdisk not recognising new disk.
David Fisher wrote: Hi all, An ide hard drive has failed on a server machine and I have replaced it with a second scsisdb is in /proc/partitions, what /dev device do drive (which will be /dev/sdb). The machine already has a /dev/sda. On boot up the kernel appears to recognize the new disk but when I try to use fdisk I get: fdisk: unable to open /dev/sdb Fdisk has no trouble with /dev/hda and /dev/sda. If I boot rom a tomsrootbt disk, I can use fdisk on /dev/sdb and then use mk2fs, but when I then try to boot from the normal kernel, the kernel seems to recognise /dev/sdb1 but cannot mount it (as /var), and fdisk will stll not recognse /dev/sdb. Kernel is 2.4.23, fs is ext3 (compiled in) and ext2 as a module. Can anyone please help with this as I need to get this machine back up asap. What kind of scsi hba/controller are you using for sdb? Is sda on the same controller? Is sda a hard disk (not a cf card, or other non-native scsi device)? Can you post the output of /proc/partitions, /proc/scsi/scsi and the relevant parts of dmesg (does sdb show up in dmesg or boot.log)? Are you sure it is sdb under your running kernel? Could sdb be some other device, and your new disk is sdc? Try 'fdisk -l /dev/sd?' to see if it shows up. -- Lost in Tokyo, Keith -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html