Linux-Setup Digest #589, Volume #19 Sat, 9 Sep 00 14:13:08 EDT
Contents:
Re: [ADVANCED] force dns lookup (David Efflandt)
Re: Kernel Compile Going Nowhere (Colin Watson)
Cannot setup up modem (Marty Chan)
Installing Win98, Win2000 and Linux on one PC?! (Shicheng)
Re: Toshiba Libretto Screen size smaller than X window desktop (Simon Brooke)
timing problems in Linux ("Brad Hein")
Ownership of cd-rom & floppy drives at login ("Max")
Re: Installing Win98, Win2000 and Linux on one PC?! ("Gene Hill")
CD-ROM Drivers ([EMAIL PROTECTED])
Epson Stylus Photo 870 (Emilio Federici)
Re: Which Card Modem for laptop for Linux? ([EMAIL PROTECTED])
Linux boot files & multi-booting ("PC Wizard")
Re: Cannot setup up modem (Colin Watson)
Re: Keyboard layout switch in X (Colin Watson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: [ADVANCED] force dns lookup
Date: Sat, 9 Sep 2000 14:13:10 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Fri, 8 Sep 2000 16:20:43 -0400, Juergen Pabel <[EMAIL PROTECTED]> wrote:
>i already thought of that too...but i don't have any influence on
>the setup...the only thing i can influence is my box...
So have a web page or CGI on a stable webserver somewhere provide a link
with your IP address in the URL. Update that with a script through
/etc/ppp/ip-up.local (or ip-up). There is a Net::FTP modules (in libnet
modules) available for Perl, or if you had a CGI set up on the remote
webserver to get this from a query string, you could use any number of
methods in Perl, or even 'wget' Unix command to pass your current IP in a
query string to the remote CGI that saves it. Also see: perldoc perlipc
This could still be somewhat problematic if you disconnect and someone
else connects with your old IP. But there are workarounds for that too.
>"Marc Andre Selig" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> "Juergen Pabel" <[EMAIL PROTECTED]> writes:
>>
>> > - dial up connects (gets some IP)
>> > - client makes connection to client via <myname>.dyn.dhs.org
>> > - client closes connection
>> > - dial up hangs up
>> > (shortly later)
>> > - dial up connects again (gets a different IP)
>> > - client wants to make another connection to <myname>.dyn.dhs.org
>> >
>> > which now fails because the client still has the old dns entry
>> > in the cache, or if it doesn't, the dns server it asks (which is not
>> > the dhs.org nameserver) has a cached version (the first, out of date
>> > ip address)
>> [...]
>> > any suggestions on how to resolve this problem? any kernel
>> > patches that allow specific dns servers for specific dns names
>> > (ie: use 209.249.164.210 (ns1.dhs.org) for all dyn.dhs.org
>> > requests and <mynameserver> for all others)
>>
>> Don't patch your kernel, solve the problem at its root: Tell your DNS
>> admin to adjust TTL and refresh intervals.
>>
>> When an authoritative name server gives out any information, it
>> includes some data on how long this information will stay valid. You
>> can change this by changing the SOA record in your zone files.
>>
>> The refresh rate is meant for a secondary DNS server (which you may or
>> may not have); the TTL is meant for other name servers. If you know
>> that the DNS information for a given host will be very short lived, it
>> is reasonable to reduce these values. You may also want to decrease
>> retry (how long does a secondary wait before retrying a failed
>> request?) and expiry times (when must a secondary delete its
>> information if the primary still fails?).
>>
>> A sample SOA record with extremely low values (certainly not
>> recommended for everyday use, but it sounds like you might need it)
>> could look like this:
>>
>> n.n.n.in-addr.arpa.
>> IN SOA dyn.dhs.org. postmaster.dhs.org. (
>> 2000090821 ; serial
>> 900 ; refresh: 15 minutes
>> 600 ; retry: 10 minutes
>> 3600 ; expiry: 60 minutes
>> 900 ) ; TTL: 15 minutes
>
>
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: Kernel Compile Going Nowhere
Date: 9 Sep 2000 07:49:29 GMT
John Thompson <[EMAIL PROTECTED]> wrote:
>Colin Watson wrote:
>> linux-2.4.0-test6/README says:
>>
>> # Do NOT use the /usr/src/linux area! This area has a (usually
>> # incomplete) set of kernel headers that are used by the library header
>> # files. They should match the library, and not get messed up by
>> # whatever the kernel-du-jour happens to be.
>
>I usually unpack the kernel sources into
>/usr/src/linux-[whatever], compile, and if it works move the
>sym-link /usr/src/linux from /usr/src/linux[old-whetever] to
>/usr/src/linux-[whetever]. That way your known, working source
>tree never gets overwritten yet changing /usr/src/linux to a new
>version is as simple as moving the link.
I agree that this is a useful way to organize things, but if you're
running a distribution that symlinks from /usr/include/{asm,linux} then
it still suffers from the same problems. Compiling kernels won't break
due to this problem, but compiling other programs might.
--
Colin Watson [[EMAIL PROTECTED]]
"Alles Vergaengliche / Ist nur ein Gleichnis;
Das Unzulaengliche / Hier wird's Ereignis;" - _Faust_, Goethe
------------------------------
From: Marty Chan <[EMAIL PROTECTED]>
Subject: Cannot setup up modem
Date: Sat, 09 Sep 2000 23:01:46 +0800
==============4AE7FCE0210E0FD25DC33F18
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am using a LT Win Modem. When I tried to install the Lucent Modem
module driver (from linux586.zip), it prompts out version mismatch as
follows:
Warning: kernel-module version mismatch
./ltmodem.o was compiled for kernel version 2.2.12-20
while this kernel is version 2.2.12-4CLE
and there are many unresolved symbols. The module is not successfully
installed.
How can I overcome this problem ???
Marty.
==============4AE7FCE0210E0FD25DC33F18
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am using a LT Win Modem. When I tried to install the Lucent Modem module
driver (from linux586.zip), it prompts out version mismatch as follows:
<p><i>Warning: kernel-module version mismatch</i>
<br><i> ./ltmodem.o was compiled for kernel version 2.2.12-20</i>
<br><i> while this kernel is version 2.2.12-4CLE</i><i></i>
<p>and there are many unresolved symbols. The module is not successfully
installed.
<p>How can I overcome this problem ???
<p>Marty.
<br>
<br>
<br> </html>
==============4AE7FCE0210E0FD25DC33F18==
------------------------------
From: Shicheng <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,alt.os.linux,microsoft.public.win2000.applications
Subject: Installing Win98, Win2000 and Linux on one PC?!
Date: Sat, 09 Sep 2000 15:13:24 GMT
Hello there,
We would like to install Win98, Win2000 and linux (redhat 6.0)
three OSs onto our PC. The PC has a 30 GB hard disk, 128 MB memory
and a 700 MHz CPU.
We would like to have the above three OSs installed; after the
installation, we could select one of the three OSs during the boot time,
otherwise, the PC will be booted automatically to the default
OS (Win 2000 is the default one). Each OS would use one partition,
so the three OSs would need three partitions.
Apart from these three OS partitions, we may also need to create
two more partitions using the remaining space of the disk:
one such a partition would be for the storage of linux's data and the
other one would be for the data storage for both the Win98 and Win2000
OSs; so the last data partition needs to be seen by both the 98 and the
2000 OSs.
We would be grateful you could give us some advice on the above.
Thanks,
Shicheng
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.portable,uk.comp.os.linux
Subject: Re: Toshiba Libretto Screen size smaller than X window desktop
From: Simon Brooke <[EMAIL PROTECTED]>
Date: Sat, 09 Sep 2000 15:32:07 GMT
"Roger" <[EMAIL PROTECTED]> writes:
> Hi.Im running Red Hat 6.0 on my Toshiba Libretto 100CT.
> The bottom of the desk top (x window) is below the screen.
> I cant acess the bar there.Can someone tell me how to configure?
> Thanks.
> roger.
Here's the one I use:
================================== cut here =================================
#<ITEM>
#<DATE> 1998/05/09
#<NAME> Takeshi Kaburagi
#<ADDR> [EMAIL PROTECTED]
#<MCN> TOSHIBA Libretto100 LCD
#<CPU> Intel Pentium/MMX-166MHz
#<BIOS> 6.40
#<OS> Linux
#<OSV> 2.0.33
#<XFRV> XFree86 3.2
#<XFRS> XF86_SVGA
#<VCHIP> Neomagic MagicGraph 128ZV+(NM2160)
#<VBUS> Local-BUS
#<VRAM> 2Mbytes
#<VDEPTH> 8bpp, 16bpp
#<RESOL> 800 x 480
#<LCDSIZE> 7.1 inch
#<LCDTYPE> TFT
#<MISCJ>
#$B2<5-$N>pJs$r85$K$7$^$7$?!#(B
#$B!&(Bhttp://www.yy.cs.keio.ac.jp/~sanpei/Laptop-X/Fujitsu_FMV-BIBLO_NC313
#$B!&(Bhttp://www.yy.cs.keio.ac.jp/~sanpei/NOTE-PC/Toshiba_Libretto_100
#$B!&(Bhttp://www.yy.cs.keio.ac.jp/~sanpei/note-list.html
#$B!&(Bhttp://www.asahi-net.or.jp/~qh4m-ystk/libretto/index.html
#$B!&(Bhttp://www.cs.utexas.edu/users/kharker/linux-laptop/
#$B!&(Bhttp://www2.big.or.jp/~kabu/
#
#$B$^$:(B 128ZV+ $BBP1~$N(BSVGA$B%5!<%P!<$r:n$C$F!"$=$l$+$i$4$K$g$4$g$H(B
# Monitor $B$NCM$rJQ99$7$^$7$?!#$H$j$"$($:(B 800x480 $B$,$G$-$?$N$G(B
#$B?<$/$ODI5a$7$F$$$^$;$s!#(B
#
#</MISCJ>
#</ITEM>
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection
Section "ServerFlags"
EndSection
Section "Keyboard"
Protocol "Standard"
XkbRules "xfree86"
XkbModel "pc102"
XkbLayout "uk"
EndSection
Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
Emulate3Timeout 50
Emulate3Buttons
EndSection
Section "Monitor"
Identifier "Libretto100-LCD"
VendorName "TOSHIBA"
ModelName "Libretto100"
HorizSync 31.5 - 37.9
VertRefresh 50-90
# 640x400 @ 70 Hz, 31.5 kHz hsync
Modeline "640x480" 25.175 640 664 760 800 480 480 486 488
Modeline "800x480" 35.26 800 856 1040 1056 480 480 486 488 +hsync +vsync
Modeline "800x600" 40 800 856 1040 1056 600 600 626 628 +hsync +vsync
EndSection
Section "Device"
Identifier "MagicGraph 128ZV+"
VendorName "NeoMagic"
BoardName "TOSHIBA Libretto100"
Chipset "nm2160"
VideoRam 2048
Clocks 25.2 28.3 35.26 40.0
Option "override_validate_mode"
EndSection
Section "Screen"
Driver "svga"
Device "MagicGraph 128ZV+"
Monitor "Libretto100-LCD"
Subsection "Display"
# Depth 8
Depth 16
Modes "800x480"
ViewPort 0 0
EndSubsection
EndSection
================================== cut here =================================
--
[EMAIL PROTECTED] (Simon Brooke) http://www.jasmine.org.uk/~simon/
;; in faecibus sapiens rheum propagabit
------------------------------
From: "Brad Hein" <[EMAIL PROTECTED]>
Subject: timing problems in Linux
Date: Sat, 9 Sep 2000 12:44:18 -0400
After installing linux slackware fresh from cdrom, with a cdrom kernel
(bare.i) I had no problems with timing critical applicationsunder linux.
however
after recompiling my kernel and implimenting my own zlilo kernel, I am
having problems with the ping program. ping will only give a reading of a
multiple of 10ms. it looks like my cpu timer is not being properly
hooked/read. Linux should be running at 100clocks/second, but it seems mine
is running at 10clocks/second.
Which options in the kernel did I screw up?
Thank you!
------------------------------
From: "Max" <[EMAIL PROTECTED]>
Subject: Ownership of cd-rom & floppy drives at login
Date: Sat, 09 Sep 2000 18:58:37 +0100
Everytime a user logs in the ownership of the /dev/floppy & /dev/cdrom
devices is set to the user & group the user belongs to. In my system I
also have a CD-RW & ZIP drive. How do I get the system to change the
ownership of these devices to the user & group that the user who's logging
in belongs to?
Max
------------------------------
From: "Gene Hill" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,alt.os.linux,microsoft.public.win2000.applications
Subject: Re: Installing Win98, Win2000 and Linux on one PC?!
Date: Sat, 9 Sep 2000 10:22:42 -0700
What you are proposing won't be hard. The only thing to mention is that you
must install win2k with FAT32 file system. If you use NTFS, win98 won't be
able to see that partition.
Gene
"Shicheng" <[EMAIL PROTECTED]> wrote in message
news:8pdk29$pii$[EMAIL PROTECTED]...
> Hello there,
> We would like to install Win98, Win2000 and linux (redhat 6.0)
> three OSs onto our PC. The PC has a 30 GB hard disk, 128 MB memory
> and a 700 MHz CPU.
>
> We would like to have the above three OSs installed; after the
> installation, we could select one of the three OSs during the boot time,
> otherwise, the PC will be booted automatically to the default
> OS (Win 2000 is the default one). Each OS would use one partition,
> so the three OSs would need three partitions.
> Apart from these three OS partitions, we may also need to create
> two more partitions using the remaining space of the disk:
> one such a partition would be for the storage of linux's data and the
> other one would be for the data storage for both the Win98 and Win2000
> OSs; so the last data partition needs to be seen by both the 98 and the
> 2000 OSs.
>
> We would be grateful you could give us some advice on the above.
>
> Thanks,
>
> Shicheng
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: CD-ROM Drivers
Date: Sat, 09 Sep 2000 17:26:27 GMT
Hey to all,
I'm installing Red Hat 6.1 on one of my older P166 systems, and it
keeps erroring out. I think (this is as much a question as it is a
statement) its my CD-ROM drive, which is an NEC CDR-273 (1st get CD-
ROM, not a CD-R). I'm booting to Red Hat's install/boot floppy. The
error message that I get is
running /sbin/loader
install exited abnormally -- received signal 11
and then it stops. When I boot to DOS floppy w/ CD-ROM support, it
works beautifully. I think that the issue is that linux doesn't have
drivers for my CD-ROM drive.
Can anyone help? Either help me find CD-ROM drivers or tell me
more about this issue?
Many thanks,
-Chris Leonard
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Emilio Federici <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Epson Stylus Photo 870
Date: Sat, 09 Sep 2000 17:44:40 GMT
Hi everybody!, I've recently bought this printer and I'm working on
trying to make it usable under Linux (SuSE 6.2).
I've downloaded and compiled the Gimp-plugin and it works fine; but I
can't understand how to make it work with other software (via lp and
ghostscript).
I've downloaded GNU-Ghostscript-5.50 and compiled with the stp driver
provided with gimp-plugin but I'm not able to set up a good printcap and
aspfilter to make the printer work.
Suggestions, files and links are welcome :-)
Thanks!
--
Emilio Federici
NUOVO INDIRIZZO-> [EMAIL PROTECTED] <- NUOVO INDIRIZZO
ICQ:27013758
------------------------------
Date: Sat, 09 Sep 2000 14:06:09 -0400
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.portable
Subject: Re: Which Card Modem for laptop for Linux?
I think the Trendnet PCMCIA (V.90) modem fits your bill very well.
It's a real modem with a build in 16550 compatible chip and is selling
at $46 in ONSALE.com (it's a buy/sell not bids).
Here is how you can find one:
HTTP://www.onsale.com
click on Action
click on Modem
click on PCMCIA
You should be able to find a "Trendnet PCMCIA 56K (V.90)..."
I check Trendnet's website, and this modem supports modem
via the standard "pcmcia" package (the is no special driver or
anything else required). Trendnet's website is
http://www.trendware.com
RiX Technology's PCMCIA 56K V.90 modem $39 supports
Linux also. You can find one from Onsale also.
Onsale also have "Best Data 56K" modem which is also a real modem.
Best Data is a bit more expensive ($79).
I have not received my Trendnet modem yet, so I don't know
how well it performs.
Regards,
Shao
Gerardo wrote:
> I need to buy a modem for my laptop that will work with Linux for a Open
> PCMCIA Type II or Type III slot (I think). I have an IBM card modem that I
> think is a winmodem.....
>
> Please recommend, low $$ preferred.
> Thanks
> Gerardo
------------------------------
Reply-To: "PC Wizard" <[EMAIL PROTECTED]>
From: "PC Wizard" <[EMAIL PROTECTED]>
Subject: Linux boot files & multi-booting
Date: Sat, 9 Sep 2000 12:04:13 -0600
I am multi-booting various versions of Windows 9x, NT, and Linux, using
partition magic 5.01. They all seem to need these reqs:
Install on 1st drive (C)
Install on its own primary partition
Install starting below 2 GB
Install below 1024 cylinder limit.
Multi-booting below 2 GB can get crowded!
I am thinking of installing the Linux boot files on a small partition ( ?
mb ) and putting the rest on a 2nd hard drive.
What Linux boot files do need? (I know their are different versions).
Comments Welcome.
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: Cannot setup up modem
Date: 9 Sep 2000 17:53:49 GMT
Marty Chan <[EMAIL PROTECTED]> wrote:
>I am using a LT Win Modem. When I tried to install the Lucent Modem
>module driver (from linux586.zip), it prompts out version mismatch as
>follows:
>
>Warning: kernel-module version mismatch
> ./ltmodem.o was compiled for kernel version 2.2.12-20
> while this kernel is version 2.2.12-4CLE
>
>and there are many unresolved symbols. The module is not successfully
>installed.
Try compiling your kernel with module version information enabled (it's
in the "Loadable module support" section).
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
Please just post in plain text. There should be an option in Netscape's
"Mail and News Preferences" or something like that to turn off HTML.
--
Colin Watson [[EMAIL PROTECTED]]
"Go not to Usenet for counsel, for they will say both
'No' and 'Yes' and 'Try another newsgroup'." - Usenet Rule #17
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: Keyboard layout switch in X
Date: 9 Sep 2000 18:08:30 GMT
John Stygging <[EMAIL PROTECTED]> wrote:
>My problem is that I sometimes type in English and sometimes in Swedish,
>so I need both keyboard layouts. In other OS (MacOS or Windows) it's
>very easy to switch keyboard layout using an indicator, which can be
>switched on in the control panels. Is there anything similar in Linux
>(Gnome or KDE).
Personally, for the same two languages, I put two extra items on my X
menu: "UK keymap", which runs "/usr/bin/X11/setxkbmap gb &" (depending
on your distribution, it might be /usr/X11R6/bin/...), and "Swedish
keymap", which runs "/usr/bin/X11/setxkbmap se &".
That was a fairly quick hack, though. There's a tool called xkbsel which
has dock applets for the major window managers / desktop environments
(GNOME, KDE, and Window Maker). Its home page is at
http://www.penguin.cz/~stano/sk/xkbsel.html; it's in Slovakian, granted,
but the documentation is in English. If you're using Debian, you can
install the xkbsel package and possibly the xkbsel-gnome package as
well.
The command-line tool seems to need a bit of configuration; I don't know
what the dockable applets are like.
--
Colin Watson [[EMAIL PROTECTED]]
"Everyone, please welcome our new friend Stef. He's here with us
because he thinks he's a penguin." - http://www.userfriendly.org/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************