Re: Keyboard Layout Config

2002-10-27 Thread Shyamal Prasad
"Drew" == Drew Parsons <[EMAIL PROTECTED]> writes:

Drew> in /etc/X11/XF86Config-4.  Try setting "es" instead of "ru",
Drew> or something like that.  (and the right value instead of
Drew> "pc101"...)

FYI, when editing /etc/X11/XF86Config-4 respect the comments just
after the line containing 'BEGIN DEBCONF SECTION'. If you just make
these changes in the main body of the file, you will lose them if you
ever reconfigure the package. Try and create your own sections
*outside* the "DEBCONF SECTION'.

Cheers!
Shyamal



Re: [Q] From RedHat to Debian

2002-11-05 Thread Shyamal Prasad
"Bob" == Bob Nielsen <[EMAIL PROTECTED]> writes:

Bob> When I made the transition (six or seven years ago) it was
Bob> easy: 
Bob> 1.  Attempt to upgrade Red Hat 
Bob> 2.  Swear at systemwhich will no longer boot.  
Bob> 3.  Install Debian.

Bob> Hopefully Red Hat has improved since then, but I learned my
Bob> lesson.

AFAIK it is still about the same. Some of my co-workers are hardcore
RH fans, and they use it for some reasonably "mission critical"
servers (CVS repository hosts). They are upgrading to RH 8.0 (I
think8.0 is the latest, right?) this coming week. They will
backup, reinstall RH and restore backed up data.

Cheers!
Shyamal



Re: e100 and hotplug on Thinkpad T23

2002-11-13 Thread Shyamal Prasad
"Expert" == Expert User <[EMAIL PROTECTED]> writes:

Expert> In /etc/hotplug/net.agent file there are appropriate
Expert> entries for ifup & ifdown.  # cat /etc/sys/kernel/hotplug
Expert> shows '/sbin/hotplug'.

Expert> BUT, removing & inserting the cable, does not have the
Expert> desired effect of running ifup & ifdown on eth0.

Expert> What is missing?

Expert> Any help is apreciated.

Ummmgoing out on a limb here since I'm no hotplug expert, but
AFAIK hotplug refers to *devices* being plugged into a bus that is
"hot pluggable."  An example of such a bus is USB, or Cardbus. 

The link going up or down is not the same as the ethernet driver being
plugged in and out of a device bus like USB. Perhaps that is why it
does not run ifup/down.

See /usr/share/doc/kernel-doc-2.4.18/Documentation/usb/hotplug.txt.gz
for some more information.

Feel free to tell me I'm wrong, I'd like to know.

Cheers!
Shyamal



Re: export DISPLAY / remote Xclient?

2002-11-13 Thread Shyamal Prasad

"arief" == arief mulya  writes:

arief> everytime I get error message like this (from the HP-UX):
arief> /usr/bin/X11/xrdb: Connection refused /usr/bin/X11/xrdb:
arief> Can't open display '10.1.92.57:0.0'

arief> I 've tried: xhost hpux.host.name, before telnet.  Won't
arief> work also.

arief> Anything I miss?

By default Debian will start X so it does not accept tcp connections
from remote hosts. 

You *should* use 'ssh -X' to log onto the remote machine and (if the
remote machine is administered by sane people) X11 forwarding will
work automagically.

If you really want to do the telnet thing (e.g. your HPUX box does not
support ssh, or has brain dead admins who say stuff like "I won't turn
on X11 Forwarding on sshd, it is a security risk") you need to figure
out how X is started on your laptop and modify that command line.

In my case it is started with gdm. The file /etc/gdm/gdm.conf
contains a line at the end that specifies the X command line. Like
this: 

command=/usr/bin/X11/X -deferglyphs 16 -nolisten tcp

I would get rid of the '-nolisten tcp' and restart. BTW don't do this
unless you can't get sshd to work. 

Cheers!
Shyamal



Re: e100 and hotplug on Thinkpad T23

2002-11-14 Thread Shyamal Prasad
"Expert" == Expert User <[EMAIL PROTECTED]> writes:

Expert> I did some testing and found that the /sbin/hotplug is run
Expert> only when I do insmod e100 or rmmod e100, and not when I
Expert> plug or unplug the cable.

Right. Then you are simulating plugging a device, not a cable.

Cheers!
Shyamal



Re: woody install on laptop

2002-11-14 Thread Shyamal Prasad

milti> for the past couple of days, ive been trying to do a
milti> floppy/network install of woody on my sony picturebook (usb
milti> floppy/xircom netcard) and have not been able to get past
milti> the rescue disk: the error that stands out is

milti>root fs not mounted

The (Sony) USB floppy cannot be used with any of the Woody boot
images. Your BIOS boots from the floppy, but after that you are stuck
because it is only visible as a USB device. The bf2.4 image includes
the USB support as modules, but you need the USB floppy to get them
loaded into the kernel ;-) You are kind of stuck.

There are several patched boot/root disks that do include the USB
drivers you need in the kernel on the boot disk. 

For example you could try
http://www-user.rhrk.uni-kl.de/~blochedu/usb-install/

Or follow the advice on
http://www.cs.uoregon.edu/~dhofer/sony_vaio_pcg-z505ls.html

I have the good fortune of having a Sony PCMCIA CD drive to go with my
N505VE so I have never tried the floppy method. I'm confident one of
these will work for you and you will not have to go out and build your
own boot kernel and disk.

BTW my Sony CD drive works as standard IDE drive in recovery mode if I
pass "ide1=0x180,0x386" when booting. I'm not sure this information is
going to help you, but it might.

And, oh yes, please do us the favor of not cross posting on Debian
lists! 

Cheers!
Shyamal



Re: using an external USB CD to install woody (was: woody install on laptop)

2002-11-14 Thread Shyamal Prasad
"Michael" == Michael Leone <[EMAIL PROTECTED]> writes:

Michael> Hmm. That's useful to know. How about this .. I have a
Michael> friend who has an IBM ThinkPad with a broken internal
Michael> CD-ROM, but a working floppy .  However, she has an
Michael> external USB CD-RW. Since the woody install diskettes
Michael> include USB support as modules, can I use this external
Michael> USB CD drive to install woody on her laptop (after
Michael> booting with the boot/root floppies, of course)? Or will
Michael> I need to go thru the whole install using only diskettes,
Michael> and then have it recognize the CD only after the reboot?

Michael> The last time I installed Debian not from a booting CD
Michael> was potato, a long time back. :-)

It should work, but don't trust me on this since I have not done
it. The bf2.4 boot set (6 floppies) have the USB and SCSI modules you
should need to do this, and a little bit of modconf/modprobe and USB
knowledge should get your CD-ROM working. I'd certainly give it shot.

Cheers!
Shyamal



Re: PCMCIA network card alias configuration

2002-11-21 Thread Shyamal Prasad
"David" == David B Harris  writes:

David> You need to edit /etc/pcmcia/network.opts, to make it use
David> ifupdown; it refers to it as "Debian's network
David> setup". Basically, you need to make sure all the variables
David> in that file are either empty or set to "n". Why this isn't
David> the default, I've no idea. (Be sure not to forget the 'auto
David> eth0:0' line in /etc/network/intefaces).

H? I've never needed to do this. The default PCMCIA installation
always used ifup/ifdown before trying anything else. I just installed
Woody last night on a laptop, so I'm sure I did not have to do this.

Sorry, can't help with the eth0:0 line, but you should not 'auto' a
PCMCIA card line in the interfaces file. If you do, it will not come
up when you boot with the card in. 

Cheers!
Shyamal



Re: PCMCIA network card alias configuration

2002-11-21 Thread Shyamal Prasad

"David" == David B Harris  writes:

David> On 21 Nov 2002 19:11:33 -0600
David> Shyamal Prasad <[EMAIL PROTECTED]> wrote:
>> "David" == David B Harris  writes:
>> 
David> You need to edit /etc/pcmcia/network.opts, to make it use
David> ifupdown; it refers to it as "Debian's network

>>  H? I've never needed to do this. The default PCMCIA
>> installation always used ifup/ifdown before trying anything
>> else. I just installed Woody last night on a laptop, so I'm
>> sure I did not have to do this.

David> Can you attach your /etc/network/interfaces for my own
David> edification? :)

Sure. Here it is:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

iface eth0 inet dhcp
   wireless_essid MyEssId
   wireless_key 123456789e

It is a 802.11 card which is why I have the extra parameters. This is
a clean net install with the Woody bf24 kernel. Note the lack of the
'auto' keyword - that ensures it brings up the card if it is inserted
on start up.

Cheers!
Shyamal



Re: dhcp setup on debian woody

2002-11-26 Thread Shyamal Prasad
"Paulo" == Paulo Lopes <[EMAIL PROTECTED]> writes:

Paulo> hi, i want to connect my laptop to a dhcp network and i've
Paulo> been using it with static IP. I've been reading the
Paulo> /etc/network/interfaces file and don't know exactly what to
Paulo> do for dhcp. Nevertheless i've been trying to make it work
Paulo> and in the howto's i've read it says that i need to install
Paulo> "dhcpcd", i do apt-get install dhcpcd and i get a reply
Paulo> that that package does not exist (at least on my distro
Paulo> woody/stable).

apt-get install dhcp-client

(or install the 'pump' package instead, some people like that, but I
believe there are issues when used on a machine with more than one
ethernet interface).

Paulo> Can someone tell me how to configure it?

Paulo> i've a ip static network on eth1 (pcmcia and working) and
Paulo> need a dhcp on eth0 (internat ethernet adapter) all the
Paulo> modules work and were built for the 2.4.18 kernel. All i
Paulo> need it dhcpcd or something else that can do the same, and
Paulo> a sample /etc/network/interfaces, of course if there's
Paulo> anything else you can let me know :-)

Add the following two lines to your interfaces file

auto eth0
iface eth0 inet dhcp

The first line brings up the interface at boot time, you can leave it
out if you don't want this (on a laptop, your probably don't want to
use that line.).

If you are using a 2.4.18-{arch} kernel be sure to include a line with
the word 'af_packet' in /etc/modules.

Cheers!
Shyamal



Re: Debian on laptop as gateway

2002-12-08 Thread Shyamal Prasad
"bong" == bong sabolboro <[EMAIL PROTECTED]> writes:

bong> Hi!  I'm installing Debian Woody 2.2 kernel on an old
bong> Toshiba laptop and plan to use this as a home gateway.

 Please be sure to start a new thread when you are
posting a new message that is unrelated to other messages. Don't reply
to an existing message like you did here. People might never read your
message because it gets lost in another thread!  

bong> After recompiling a new 2.2.20 kernel, I noticed that
bong> /lib/modules/2.2.20 does not contain the directory pcmcia
bong> under it unlike the original /lib/modules/2.2.20-idepci.  I
bong> tried copying the whole directory to the new one but the new
bong> kernel does not seem to accept it even though they are both
bong> based on 2.2.20.

I do not use a 2.2.x kernel anymore (as wonderful as they were, I have
too much USB stuff these days). On those kernels the PCMCIA modules
were distributed independently of the kernel.

You want to apt-get install pcmcia-source and build it. Or perhaps you
could simply use pcmcia-modules-2.2.20 

Cheers!
Shyamal



Re: No network on CD net install

2002-12-10 Thread Shyamal Prasad
"Andrew" == Andrew Perrin <[EMAIL PROTECTED]> writes:

Andrew> Greetings- I'm trying to install woody on a laptop that
Andrew> has a USB floppy drive. I therefore boot from the CD-ROM
Andrew> drive to the Net Install/ Base .deb's CD (downloaded from
Andrew> http://people.debian.org/~dwhedon/boot-floppies/). It
Andrew> boots fine and lets me partition and mount, but then I'm
Andrew> stuck; if I go to the default next step (Install Kernel
Andrew> and Driver Modules) it offers only Hard Disk, mounted, and
Andrew> fd0 or fd1 as sources. I need to get the driver(s) off the
Andrew> CD to recognize the network interface (a built-in
Andrew> eepro100) so I can do a network install.  Can someone
Andrew> suggest how to do this?

Andrew> System specs: - Sony Vaio PCG-Z505HS - Sony ATAPI/PCMCIA
Andrew> CD-ROM drive PCGA-CD51 - Sony USB floppy drive for Vaio

Andrew> If I try to configure PCMCIA (in the hope of getting the
Andrew> CD-ROM drive back) I get the following error: "insmod:
Andrew> insmod:
Andrew> /target/lib/modules/2.4.18-bf2.4/pcmcia/pcmcia_core.o: No
Andrew> such file or directory"

Try booting with "ide1=0x180,0x386" as parameters to the kernel. Some
of those Sony machines have all kind of nast hacks in them.

Cheers!
Shyamal



Re: PCMCIA NIC & internal NIC

2003-01-07 Thread Shyamal Prasad
"Chris" == Chris Horn <[EMAIL PROTECTED]> writes:

Chris> Hello.  There's a colleague at work here with a Sony VAIO
Chris> and two network interfaces.  One is the built in NIC that
Chris> requires a dongle to use, and the other is a PCMCIA network
Chris> card.  The problem is that apparently the network is being
Chris> initialized before the PCMCIA devices are.  Judging by the
Chris> scripts in /etc/init.d/, everything is in order - but in
Chris> practice eth1 (the PCMCIA card) is not initialized before
Chris> it tries to get set up with the config in
Chris> /etc/network/interfaces.  What's the matter here?  Is this
Chris> a configuration error on my part, or Debian's?

Nope, nothing wrong unless you a have done something really non
standard. PCMCIA cards are bought up by the PCMCIA subsystems, the
other network cards are bought up by the network scripts (which run
earlier). So, if you are setting up the PCMCIA card via
/etc/network/interfaces do not use the 'auto' keyword for eth1. That
should take care of it unless you did something else to the standard
installation. 

Cheers!
Shyamal



Re: PCMCIA NIC & internal NIC

2003-01-08 Thread Shyamal Prasad
"Chris" == Chris Horn <[EMAIL PROTECTED]> writes:

Chris> Thanks a lot for this info.  I'm glad it's not something
Chris> I/we did!  So, to check, how will the eth1 interface be
Chris> brought up?  Do I have to do it manually with 'ifup eth1'
Chris> or another command, or is there some way to have this down
Chris> a) whenever the machine boots b) whenever the card is
Chris> inserted into its slot?

Hi Chris,

eth1 will be bought up when the PCMCIA subsystem starts. Basically,
when the networking script is run from /etc/rcN.d/ it will do an 'ifup
-a' which will bring up any network devices marked 'auto'. A little
later the pcmcia subsystem will start, and if you have a ethernet card
in the PCMCIA slot, cardmgr and friends *should* (in a normal
installation)  detect it, beep, look in /etc/network/interfaces, and
bring it up for you. If you don't have the card in there, it will come
up on insertion. 

If you consider this ordering you should immediately realize why
adding 'auto' to eth1 screws things up. The networking script can't
bring it up because it is PCMCIA, the pcmcia script can't bring it up
because the 'ifup -a' from the network script marked the device as
failed (in /etc/network/ifstate). The user then needs to go in and do
a 'ifdown eth1' followed by a 'ifup eth1' or something at that point
to bring sanity to the interfaces.

This approach works just fine for me on two different laptops. I
do believe it is the "right thing" for Debian.....but you don't have
to take my word for it ;-)

Cheers!
Shyamal


Chris> take care.  chris.

Chris> At 07:19 PM Tuesday 1/7/2003, Shyamal Prasad wrote:
>> "chris" == chris horn <[EMAIL PROTECTED]> writes:
>> 
chris> hello.  there's a colleague at work here with a sony vaio
chris> and two network interfaces.  one is the built in nic that
chris> requires a dongle to use, and the other is a pcmcia network
chris> card.  the problem is that apparently the network is being
chris> initialized before the pcmcia devices are.  judging by the
chris> scripts in /etc/init.d/, everything is in order - but in
chris> practice eth1 (the pcmcia card) is not initialized before
chris> it tries to get set up with the config in
chris> /etc/network/interfaces.  what's the matter here?  is this
chris> a configuration error on my part, or debian's?
>>  nope, nothing wrong unless you a have done something really
>> non standard. pcmcia cards are bought up by the pcmcia
>> subsystems, the other network cards are bought up by the
>> network scripts (which run earlier). so, if you are setting up
>> the pcmcia card via /etc/network/interfaces do not use the
>> 'auto' keyword for eth1. that should take care of it unless you
>> did something else to the standard installation.
>> 
>> cheers!  shyamal
>> 
>> 
>> -- to unsubscribe, email to
>> [EMAIL PROTECTED] with a subject of
>> "unsubscribe". trouble? contact [EMAIL PROTECTED]


Chris> - [EMAIL PROTECTED] 703.413.1100 x5100


Chris> -- To UNSUBSCRIBE, email to
Chris> [EMAIL PROTECTED] with a subject of
Chris> "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: test (please don't flame me for this, see below)

2003-01-14 Thread Shyamal Prasad
"Lars" == Lars W  writes:

Lars> Hi List, many appologies for this testing, but I subscribed
Lars> to three debian lists today and get a lot of messages from
Lars> these lists, but never my own messages. So I wonder if they
Lars> ever reach the lists. Please, could anyone confirm that this
Lars> message reached debian-laptop by replying to me _directly_
Lars> at [EMAIL PROTECTED]

Yes. It's here.

http://lists.debian.org/debian-laptop/2003/debian-laptop-200301/msg00156.html

So, did you get sunk under a lot of replies or not? ;-)

Cheers!
Shyamal



Re: No network connection with a Xircom RealPort Cardbus Ethernet 10/ 100 + Modem 56 (RBEM56G-100)

2003-01-17 Thread Shyamal Prasad
"Jeff" == jcoppock1   writes:

Jeff> Irish, Jon D MEVATEC, 2003-Jan-17 13:47 -0600:
>> Ivar, lsmod indicates that tulip_cb and the cb_enabler modules
>> are indeed loaded.  Ifconfig -a shows the adapter (eth0). I did
>> a ifconfig eth0 up, and the adapter did activate, but it does
>> not have an address. I would like it to use DHCP to get all of
>> the config info, but I did not see any info in the man page for
>> using DHCP. How can I do this? Also, how can I set this up so
>> that it is automatically brought up and configured with DHCP at
>> boot time?  It case you all haven't guessed, I'm a "newbie', so
>> I need all of the help I can get ;-)

First do 'man interfaces' and then add the following line to the
/etc/network/interfaces file:

iface eth0 inet dhcp

Be sure *not* to add a line that says 'auto eth0' since this is a
PCMCIA device.

Now do 'ifup eth0' and your card should come up with dhcp. If it does
not tell us what you see in the syslog etc.

The next time you boot up cardmgr should detect your card on boot or
at insertion and bring it up with dhcp.

Okay, I may have missed something. But most PCMCIA devices (I don't
own cardbus devices) work like this. I'm not sure what the level of
cardbus support is in cardmgr.try it and see.

Cheers!
Shyamal




Re: Kernel 2.4.20 + PCMCIA not working (testing)

2003-01-24 Thread Shyamal Prasad
"Nate" == Nate Bargmann <[EMAIL PROTECTED]> writes:

Nate> Meanwhile booting 2.2.20 results in pcmcia-cs loading fine
Nate> and recognizing the modem.  An lsmod reveals that the
Nate> pcmcia_core, i82365, ds, and serial_cs modules are loaded.

Nate> Oddly, the reported version for Linux PCMCIA Card Services
Nate> and cardmgr when using the 2.2.20 kernel is 3.1.33 which is
Nate> newer than that in the 2.4.20 kernel!

Nate> Has anyone solved this?  Is a custom kernel necessary?
Nate> Should I file a bug report?

Try setting 'PCIC=yenta_socket' in /etc/default/pcmcia. Restart the
cardmgr and see if that works.

/Shyamal



Re: How to have more than one window manager?

2003-01-25 Thread Shyamal Prasad
"Ivan" == Ivan Uemlianin <[EMAIL PROTECTED]> writes:

Ivan> Dear All I'm not using a display manager, but I'd still like
Ivan> a choice of window manager when I startx.  How is this done?


Ivan> My boot up takes me to the console, where I login and start
Ivan> up X with 'startx'.  I prefer it like this: I have not
Ivan> installed [gkx]dm or the X Window System task package.


Ivan> I have installed both Gnome and Fluxbox and I'd like to be
Ivan> able to run either.  How do I do this? 'startx' runs Gnome;
Ivan> 'startx fluxbox' gets this error message:


Look at the files

/etc/alternatives/x-window-manager
/etc/alternatives/x-session-manager

and see 'man update-alternatives'. Specifically, to change these
options sitewide, you need to run 'update-alternatives --config ...'

Ivan> /usr/X11R6/bin/xterm: bad command line option "fluxbox"

If you want to make this change just for yourself your best bet is to
create a ~/.xsession file. See the example in 

/usr/share/doc/xfree86-common/examples/xsession.gz

for what is possible. Basically, just start fluxbox at the end.


Ivan> Any comments welcome

Cheers!
Shyamal



Re: cardmgr, usbmgr, and hotplug

2003-01-30 Thread Shyamal Prasad
"Jason" == Jason Kraftcheck <[EMAIL PROTECTED]> writes:

Jason> What is the relation between cardmgr from the pcmcia-cs
Jason> package, usbmgr, and hotplug?  pcmcia-cs suggests hotplug,
Jason> but other than that there is no relation in the package
Jason> dependencies.  Does hotplug replace cardmgr and/or usbmgr?
Jason> If I have hotplug installed, can I remove pcmcia-cs and
Jason> usbmgr? Should I?

I don't know the answer, but I can tell you that I run both pcmcia-cs
and hotplug. 

It works for me: PCMCIA cards work fine, though I've only used wlan
16-bit cards via /etc/network/interfaces, and they are clearly started
via pcmcia-cs, and USB devices work as expected (I've used keyboards
and mice).

I believe that hotplug is a (good?) replacement for pcmcia-cs, I've
just never used it. Installing pcmcia-cs seems to work for 16 bit
cardbus devices, and the hotplug documents seem to indicate that
hotplug supports only cardbus (32 bit) devices.

Corrections?

Cheers!
Shyamal



Re: airline travel with hitech gear? (a bit offtopic)

2003-02-14 Thread Shyamal Prasad
"David" == David Z Maze  writes:

David> Joris <[EMAIL PROTECTED]> writes:
>> I know it has little to do with debian on laptops (altough a
>> non-windows OS booting meight look suspecious to customs), but:
>> 
>> What advice can experienced travellers give me on flying with a
>> laptop?

David> Airport security *in the United States only* wants you to
David> take your laptop out of your bag and have it X-rayed

Last night airport security at Montreal's Dorval airport asked me to
do the same. But this was on the other side of US Immigration, past
the "Welcome to the United States" signs, so I'm not sure if I was
still in Canada ;-)

To the original poster: travelling with a laptop is no big deal. Just
be prepared to take it out when asked. I have never been asked to boot
it yet. Admittedly I have not travelled internationally as much as I
used to since the 9/11 terrorism (though it has had more to do with
the slow economy), but I have never been asked to turn on my laptop
yet anywhere in the last 5 - 8 years or so.

Cheers!
Shyamal



Re: CD-reader on SONY VAIO SR27K

2003-02-17 Thread Shyamal Prasad
"blair" == blair kelly <[EMAIL PROTECTED]> writes:

blair> Does anyone have an idea what the message that I get in
blair> /etc/syslog when I insert the PCMCIA card for the CD-reader
blair> means:

blair> : cardmgs[339]: get dev info on socket 0 failed: Resource
blair> temporarily unavailable

On my Sony VAIO N505VE I had to (config.opts)

exclude irq5
exclude irq7
exclude irq9

and also (/etc/pcmcia or )

PCIC_OPTS="irq_list=10,11 has_ring=0"

to get my PCMCIA driver to work. On the CD-ROM I had to set it to boot
mode "boot" as opposed to "cardbus" but you probably already knew
that.

See if this helpsthis is all with the i82365 driver, but the same
files worked with yenta socket as far as I remember. I'm sorry I am
not able to lookup my laptop right now, this if from notes I have. If
you need more information just ask.

Good luck!

Cheers!
Shyamal



Re: USB-Mouse... did I tried everything?

2003-02-26 Thread Shyamal Prasad
"Peter" == Peter Simon <[EMAIL PROTECTED]> writes:

Peter> Hi list, I've a Clevo 2200/2700c laptop with a logitech
Peter> USB-optical mouse.  Seachring the web I found a few
Peter> how-to's to get an USB-mouse working under linux... I tried
Peter> everyone ;-)
 
Peter> I've build a kernel (woody / 2.4.20 - vanilla source) with
 
Peter>  Input core support Mouse supoort USB OHCI USBHID
 
Peter> static compiled into it.
 
Peter> I made the device with mknod /dev/input/mice c 13 63
 
Peter> But "cat /dev/input/mice", put out nothing. The cusor
Peter> stands even when i move the mouse.
 

You should get something. I would think you missed a few modules. For
that reason I suggest you start with a prebuilt 2.4.18 or 2.4.20
kernel since it is a little easier to experiment with them than
re-compiling kernels.

I use a logitech USB optical mouse and a USB keyboard, and on
2.4.18-k7 with the hotplug package I see

~$ /sbin/lsmod | grep usb
usbkbd  2944   0 (unused)
usbmouse1792   0 (unused)
input   3424   0 [keybdev usbkbd mousedev hid usbmouse]
usb-uhci   21508   0 (unused)
usbcore49696   1 [usbkbd hid usbmouse usb-uhci]
~$

BTW I do not load any of these explicity, hotplug does it for me
fine. This is on a stock Woody system.

Cheers!
Shyamal



Re: xdm and twm

2003-03-11 Thread Shyamal Prasad
"Jordi" == Jordi Cerdan <[EMAIL PROTECTED]> writes:

Jordi> Hey,

Jordi> I am new on Debian and Linux and have successfully
Jordi> installed x-window on my laptop (Fujitsu C1020). Then I
Jordi> installed xdm and twm without (nearly) any problem. But I
Jordi> want to go further now and uninstall them to get Gnome, but
Jordi> xdm has captured the login method that was by text console
Jordi> and now it's in graphical.

Don't worry.

Jordi> Will there be any problem if I install Gnome? Will it
Jordi> substitute the xdm Login window?

You won't have a problem. Install Gnome (which should give you gdm),
it should start up as the default the next time you boot.

If gdm does not start, go ahead and look at what is in the file
/etc/X11/default-display-manager. Change it if you need to, and at
next boot you should see gdm, unless you mucked with the
/etc/init.d/[gkx]dm files and the HEED_DEFAULT_WINDOW manager you
should end up with gdm by editing the default-display-manager file.

I might be wrong with a few details, but with this information and a
little reasearch you should be able to solve almost any problem that
comes your way regarding display manager start up ;-)

Cheers!
Shyamal



Re: regd iwconfig

2003-03-18 Thread Shyamal Prasad
"Vijaya" == Vijaya Nirmala <[EMAIL PROTECTED]> writes:

Vijaya> Hello.  I'm trying to set up an access point .  I'm using
Vijaya> Debian 2.4.18 version

Are you trying to set up the access point, or are are you trying to
set up your wireless client?

Vijaya>  but i have a problem when i use command iwconfig wlan0
Vijaya> essid Testig channel 4 , this command fails can any one
Vijaya> tell me what should be done to make this work ??

Tell us exactly what the error message is, and what software you are
using. To make this work your wireless LAN card must be supported by
the drivers you have (is it PCMCIA? PCI?), it must have been detected
and initialized (what does 'ifconfig wlan0' say?), and the user
executing the command must have appropriate authority (are you
root?). 

Incidentally, it is much easier to use the /etc/network/interfaces
file to set up your wireless card than to type in the iwconfig
commands each time. Search the archives. For example

http://lists.debian.org/debian-laptop/2002/debian-laptop-200211/msg00490.html

Cheers!
Shyamal



Re: regd iwconfig

2003-03-18 Thread Shyamal Prasad

"Norman" == Norman Walsh <[EMAIL PROTECTED]> writes:

Norman> A related question that I've been meaning to look into for
Norman> a while: is it possible to have the startup configuration
Norman> ask if a particular essid is available and configure
Norman> accordingly?

Norman> I use my laptop in several different locations. Some
Norman> essids have keys associated with them and some don't. I've
Norman> just been running one of several different startup scripts
Norman> by hand, but having it "just work" would be nicer.

I don't use my laptop enough to need this but I've seen many people
comment on generic laptop network reconfiguration to know that you
might want to take a look at the 'whereami' package. It's a start ;-)

Cheers!
Shyamal



Re: your mail

2003-03-19 Thread Shyamal Prasad
"Derek" == Derek Broughton <[EMAIL PROTECTED]> writes:

Derek> As near as I can tell, when you put stuff in
Derek> /etc/network/interfaces, it gets executed at init time,
Derek> before pcmcia gets started. If your card is already
Derek> inserted, then when pcmcia _does_ start, ifup doesn't get
Derek> executed.  Perhaps I'm misconfigured, but this is what's
Derek> happening to me.

Most likely you have an 'auto' line in /etc/network/interfaces for
your pcmcia card. Take that out and it should work fine. Basically, if
you don't have the auto line the network script in /etc/init.d/ will
ignore the interface, and the pcmcia startup scripts there will
correctly bring the card up later. 

IMHO, this is the "correct" way to do it. It also works fine (I've
done it like this for a while and, to be honest, since moving to
Debian I've actually forgotten how to muck with network.opts and all
those other pcmcia-cs files).

Cheers!
Shyamal



Re: Boot disc with a NOUSB option

2003-03-21 Thread Shyamal Prasad
"Stephen" == Stephen J Thompson <[EMAIL PROTECTED]> writes:

Stephen> Hello all, Does anyone know of any boot discs that can
Stephen> have the usb disabled upon the boot? The standard boot
Stephen> locks up my compaq laptop.

Hmm, I thought the standard Woody boot disk (2.2.x kernel, the one on
the first CD) did not include the usb drivers. What boot disc are you
using, and what is the laptop? 

Why do you believe it is USB doing it?  Perhaps you can turn off the
USB controller in BIOS.

Cheers!
Shyamal



Re: Kernel panic: No init found.

2003-03-23 Thread Shyamal Prasad
"diana" == diana tanase <[EMAIL PROTECTED]> writes:

diana> Hi, I've been trying to install Debian (kernel version
diana> 2.20) on Sony Vaio PCG-GT1. Since I don't have a working
diana> CD-ROM I went ahead and created a floppy image (I'm not

>> Warning: unable to open an initial console.  Kernel panic: No
>> init found. Try passing init=option to kernel

I'm not familiar with the PCG-GT1 but if it has a USB floppy drive the
Woody boot disks just will not work out. I've read reports on using
custom floppy disks. Google away. See, for example,

http://lists.debian.org/debian-laptop/2002/debian-laptop-200205/msg00230.html

Basically, you need a bf24 boot disk that includes the correct USB
drivers. Unfortunately I've never actually tried this (I have a N505VE
with a Sony PCMCIA CD-ROM).

Cheers!
Shyamal



Re: debian cannot find cdrom

2003-03-25 Thread Shyamal Prasad
"Ben" == Ben Southwood <[EMAIL PROTECTED]> writes:

Ben> I'm not sure if this is specific to laptops, but when
Ben> installing debian woody 2.2.20 & bf2.4 after doing initial
Ben> install of kernel debian cannot find my cdrom. it seems that
Ben> the relevant modules are not being
Ben> installed/configured/compiled.  The links from /cdrom
Ben> /dev/cdrom to /dev/hdc are correct (i have read that this is
Ben> often a problem)

Ben> when I lsmod there are no modules that match cdrom or ide-cd.

Ben> how do I go about installing the correct modules so that I
Ben> can continue the installation?

Ben,

Both the 2.2.20 idepci kernel and bf24 build the IDE-CD support into
the kernel. You should not see any modules with lsmod. If that makes
you feel any better for bf24 the specific configuration is

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDETAPE=m
CONFIG_BLK_DEV_IDEFLOPPY=y
CONFIG_BLK_DEV_IDESCSI=m


I can suggest a few things to try:

Look in the output of dmesg to see the CD ROM detection. Perhaps it is
on /dev/hdd instead? You should see something along the lines of

hda: ST360021A, ATA DISK drive
hdc: DVD-ROM DDU1621, ATAPI CD/DVD-ROM drive
hdd: QPS CRD-BP1600P, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

but obviously it will be a little different for your system. If the
dmesg output does not recognize the CD drive it is possible that your
IDE (CDROM) is in a "non standard" location. This is true, for
example, on my Sony VAIO where I have to pass kernel parameters.

Then, what happens if you say "mount -t iso9660 /dev/cdrom /cdrom"
with a CD in the drive? Do this as root. If it does not work, replace
/dev/cdrom with /dev/hdc.

Finally, if you are doing this is a regular user, be sure that the
'user' option has been added to /etc/fstab. Something like this is
what I have:

/dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto 0 0

Tell us *exactly* what you do (the commands you type) and what the
result is. Please do not summarize it, cut and paste instead. 

Good luck,
Shyamal





Re: Wifi Cards for Linux?

2003-03-25 Thread Shyamal Prasad

"kreator" == kreator   writes:

kreator> My question is, what is the best and easiest 802.11b
kreator> PCMCIA card to buy for linux these days?  Linksys?

I don't know about "best" but I've used Lucent (Orinoco) base cards
for about 3 years now, the first was something called a "Wavelan" and
now I use Orinico Silver cards with 2.4.18.

Cheers!
Shyamal



Re: USB mouse not working in woody2.4

2003-03-28 Thread Shyamal Prasad
"Ben" == Ben Southwood <[EMAIL PROTECTED]> writes:

Ben> Option "Device" "/dev/input/mice"

Ben> (EE) xf86OpenSerial: Cannot open device /dev/input/mice No
Ben> such device.

Well, do you have /dev/input/mice, and have it readable?

~$ ls -l /dev/input/mice 
crw-r--r--1 root root  13,  63 Mar 24  2002 /dev/input/mice

I had to create this on my old potato box, but if you installed with
Woody it really, really should be there. I think the command would be
'mknod /dev/input/mice c 13 63' but 'man mknod' to confirm.

Of course, if you are using devfs or some such new fangled thingamajig
and old fogey like myself can't help much

Cheers!
Shyamal



Re: PCMCIA WLAN Card not active after boot

2003-04-01 Thread Shyamal Prasad
"mkamp" == mkamp  <[EMAIL PROTECTED]> writes:

mkamp>   When booting the wlan card is not recognized and so
mkamp> dhcpclient doesn't get any address during boot. A cardctl
mkamp> eject; cardctl insert does "solve" the problem.

If you have the 'auto' stanza in /etc/network/interfaces for the card
device (e.g. 'auto eth0') then you will see this happen. In that case,
take out the auto stanza. 

For PCMCIA NICs you must let the PCMCIA startup script bring up the
card and not the networking script. The latter processes the auto
stanza, and it also runs *before* the PCMCIA script which is why you
can't use 'auto.'

Cheers!
Shyamal



Re: Compaq Armada M700: "poweroff" does not power off

2003-04-03 Thread Shyamal Prasad
"Remo" == Remo Inverardi <[EMAIL PROTECTED]> writes:

Remo> I'm using a Compaq Armada M700 laptop, running SID with
Remo> vanilla, self compiled 2.4.20 and 2.4.21-pre6 kernels. Under
Remo> both kernel versions, a "poweroff" does a shutdown, but no
Remo> power off. I played around with kernel options, trying to
Remo> both shutdown using real and protected mode.

I use a Compaq Armada M700 laptop with the 2.4.18-686 kernel from
Woody. The machine power's off just fine if I load the APM module. Be
aware that ACPI is not compiled into this kernel.

I would suggest you download 2.4.18-686 and install it. It has worked
pretty nicely on this machine for a while now, and it will give you a
baseline kernel configuration to play with.

Cheers!
Shyamal



Re: Vaio PCG-R505TSK Installation Trouble

2003-04-03 Thread Shyamal Prasad
"Johannes" == Johannes Graumann <[EMAIL PROTECTED]> writes:

Johannes> Hello, I'm trying to install woody (bf 2.4) on my Vaio
Johannes> PCG-R505TSK ... with no success.  After booting into the
Johannes> bootfloppy cd with 'linux ide2=0x180,0x386" (to makte
Johannes> the pcmcia cdrom drive work during the install) I can
Johannes> install debian without any problems and the system comes
Johannes> up after the installation system reboot with the
Johannes> (ironic) congratulation that I have installed debian
Johannes> sucessfully. Whatever I do next (and I have tried many a
Johannes> thing ...) - upon next reboot the system gives me:
Johannes> '<0>Kernel panic: Aiee, killing interupt handler! In
Johannes> interupt handler - not syncing!'

Johannes> What am I missing?

Hi,

Probably you're missing nothing, just adding too much! I bet you are
still adding the 'ide2=...' parameter on the second boot. Don't! The
kernel panic probably happens when PCMCIA tries to set up your CD ROM
during the boot process. That is also why booting into single user
mode is working.

At least that is what I see on my N505VE (where I use ide1=...).


Cheers!
Shyamal



Re: Vaio PCG-R505TSK Installation Trouble

2003-04-03 Thread Shyamal Prasad
"Johannes" == Johannes Graumann <[EMAIL PROTECTED]> writes:

Johannes> This is quite possible, but it would imply that the
Johannes> installation carries over the boot flags I set when
Johannes> booting into the netinstall ('ide2=0x180,0x386') - since
Johannes> I don't tell the kernel anything (willingly) and have
Johannes> not set additional boot parameters during the
Johannes> installation process (when asked for them). Is that
Johannes> likely? If this really is the case: how do I check/get
Johannes> rid of them? Is there somewhere a file that would
Johannes> contain these parameters to be red at boot?  Joh

Well, you got me thinking now, and perhaps I owe you a correction and
an apology. Is this a PCMCIA CD ROM? I don't know the exact model you
have and perhaps your CD ROM drive is built in. I have a 3 year old
N505VE with an external PCMCIA CD ROM device. I can reproduce your
symptoms exactly in the manner I have described. Passing the ide
parameter causes PCMCIA startup to cause a kernel panic.

If it is a PCMCIA CD drive you have try removing it when you boot. If
it boots, then that is almost certainly a confirmation of PCMCIA being
the suspect.

If it is not a PCMCIA CD ROM I would suggest you look in
/etc/lilo.conf for parameters that might be passed on boot (or
/boot/grub/... if you are using grub). Based on what you say above, I
don't think this is the case.

Since you can boot into single user mode, I suggest you watch the boot
sequence with some care and see what the last activity is before the
panic. It does seem like something in /etc/rc2.d/ is the
culprit.

I'm starting to suspect that your hardware is significantly different
from my somewhat aged machine. Let us know what happens anyway.

Good luck!
Shyamal



Re: apt-get confused when laptop plugged elsewhere

2003-04-07 Thread Shyamal Prasad

"Jan" == Jan Stary <[EMAIL PROTECTED]> writes:

Jan> There is no reason for it. I lease 62.24.blahblah from DHCP,
Jan> dns is 62.24.blahblah. 192.168.6.1 does not appear in
Jan> /etc/apt/sources.list.

Well, what does appear in sources.list? And what does 'host address'
say for each address in sources.list?

Just a guess...

Cheers!
Shyamal



Re: laptop recommendation

2003-04-09 Thread Shyamal Prasad
"florian" == csshsh   writes:

florian> would be also great if it would not be too heavy and
florian> big.. anybody got an recommendation for that?

If you are biased towards small (no 15" screen!) I can recommend the
Sony Vaio (I've owned a N505VE for over 3 years now) and the Compaq
Armada M300 (which I used at work for over 2 years now).

The Sony I used as a Linux machine (first Slackware, then potato). The
Armada was mostly Linux but I got laid off my R&D job and wear a suit
now for the same employer, so it now runs W2K and MS Office more than
Woody. But it was a *great* Linux machine.

Both nice, minimal machines the size of a 8.5x11 sheet of paper, easy
to carry, with usable battery. I've really beaten them up (they go
into the front flap of my carry on bag like a book), and they are
showing some serious wear now, but I'd probably do it again if I had
to. 

Cheers!
Shyamal



Re: quieter fan was Re: Acer TM 634 fan always on

2003-04-13 Thread Shyamal Prasad
"Emma" == Emma Jane Hogbin <[EMAIL PROTECTED]> writes:

Emma> Well the fan's still on, but it's quieter now. :) I had to
Emma> do "modprobe" instead of "insmod" to get the modules
Emma> loaded. Why does one work but not the other?

Hi Emma,

To quote from 'man modprobe':

   Modprobe uses a "Makefile"-like dependency file, created by depmod,
   to automatically load the relevant module(s) from the set of
   modules available in predefined directory trees.

and further

   Modprobe will automatically load all base modules needed in a
   module stack, as described by the dependency file modules.dep.  If
   the loading of one of these modules fails, the whole current stack
   of modules loaded in the current session will be unloaded
   automatically.

Basically, modprobe will preload anything the module your are loading
needs.  On the other hand, insmod installs exactly the module you
name, even though it might not be enough to have just that one
module. 

Since modprobe figures out dependencies for you (at least as far as
your depmod output is up to date), it is the command you should
prefer.

Cheers!
Shyamal



Re: Wireless

2003-04-16 Thread Shyamal Prasad
"Rodrigo" == Rodrigo Haces Rozada <[EMAIL PROTECTED]> writes:

Rodrigo> Hi, I have a Sony Vaio GRZ630 with debian 3.0, i have 2
Rodrigo> issues

Rodrigo> 1) Wireless, i have a orinoco wireless pcmcia card, it
Rodrigo> works perfectly, but if my AP have WEP Encryption, i set
Rodrigo> the key with iwconfig but i cant go into the net, without
Rodrigo> WEP it works great, anything with this?

Could you send us the exact key (transposed a little bit for secrecy
if you like) and the exact iwconfig command you use? 

I use an Orinoco Silver card with a Vaio N505VE and it works great
with WEP (though I use the 48 bit keys). I suspect you are specifying
the key incorrectly (it is an easy mistake to make, I've done it
several times).

Cheers!
Shyamal





Re: Network problem

2003-04-20 Thread Shyamal Prasad
"Emmanuel" == Emmanuel Di Pretoro <[EMAIL PROTECTED]> writes:

Emmanuel> HI, I have a little problem with my network.  So, I try
Emmanuel> to create a network between my laptop (lspci give me
Emmanuel> 00:09.0 Ethernet controller: 3Com Corporation 3c556
Emmanuel> Hurricane CardBus (rev 10) with 3c59x module) and a
Emmanuel> desktop (lspci : 00:08.0 Ethernet controller: Realtek
Emmanuel> Semiconductor Co., Ltd. RTL-8139 (rev 10) and 8139too
Emmanuel> module).

Emmanuel> Hereby the output of ifconfig command :

Emmanuel> [...ifconfig looks good, 10 TX errors on desktop]


Emmanuel> On the two network cards, the two lights are on. I don't
Emmanuel> know if it is normal or not. Maybe the network cards are
Emmanuel> broken ? Anybody can help me ?

Hi Emmanuel,

Be sure you are using a cross over cable. You can't use a normal cable
between the two NIC cards (unless the NIC cards are connected via a
hub or switch). 

Also, be sure that your routing table entries match whatever reality
is. Use the 'netstat -r' command to check. If you are not sure, post
the output from both machines, and tell us exactly what you have (i.e
is it a cable from laptop to desktop and that is all, or do you have a
cable/DSL modem somewhere with a hub?). 

On each machine you will need a route to the other (the exact details
will be base don if there is a router or other default gateway
somewhere in your network), or you will need a router that knows how
to get from one to the other.

Cheers!
Shyamal



Re: I fried my Sony Vaio PCG-FXA678

2003-05-01 Thread Shyamal Prasad
"Manuel" == Manuel Saavedra <[EMAIL PROTECTED]> writes:

Manuel> The XandrOS Support Team told me that maybe I had a faulty
Manuel> fan and it burned out, taking my processor and motherboard
Manuel> with it.


Manuel> Now I'm not sure if something on the XandrOS caused
Manuel> it... and I having second thoughts about switching to
Manuel> Linux.

I doubt it.

Manuel> Is there something you could recommend me to do in order
Manuel> to regain my Linux confidence?

Would you stop using XP if that was what you were running when the
laptop burned out? Your story is the first I've heard of a laptop
frying itself while running Linux (and I've used Linux for over 9
years now, and using it on my own laptops for over 4 years). 

I can't rebuild your confidence in Linux, since I don't know much
about ACPI and if it is possible to fry a laptop with it. All I can
say is: look around and see how many people are experiencing what you
had happen. Perhaps your experience really was a freaky accident.

Cheers!
Shyamal



Re: Newbie source build question for wireless network

2003-05-15 Thread Shyamal Prasad
"Andrew" == Andrew Scott <[EMAIL PROTECTED]> writes:

Andrew> I'm connecting an old laptop to my Mac Airport wireless
Andrew> network using a Lucent Orinoco Gold PCMCIA card.

Andrew> In order to do so, I need to compile PCMCIA source and the
Andrew> Orinoco cards source code.

I use Orinoco Silver cards on a Debian stock 2.4.18 kernel with the
stock PCMCIA modules. No need to compile anything? Is the gold card
that much different?

Cheers!
Shyamal



Re: pcmcia card insertion detection and network startup

2003-06-05 Thread Shyamal Prasad
"Andre" == Andre Berger <[EMAIL PROTECTED]> writes:

Andre> Hi, I've got ta wireless laptop card with the DHCP network
Andre> settings defined in /etc/network/interfaces. When I insert
Andre> the card after the bootup scripts have finished it is not
Andre> detected unless I do an /etc/init.d/pcmcia restart.

A very common reason for this fault is if you put the 'auto' keyword
in /etc/network/interfaces for the PCMCIA card's ethernet interface
name. If you've done this, take it out. Things will work much better
(I won't explain why here to save the typing in case this is not your
issue).

Cheers!
Shyamal



Re: Infamous Mouse Wheel Problem

2003-06-08 Thread Shyamal Prasad
"Dan" == Dan Rasmussen <[EMAIL PROTECTED]> writes:

Dan> That's all I can think of right now.  Eagerly awaiting being
Dan> able to scroll through documents without moving my
Dan> arms/wrist, Dan

Dan,

You might want to try

Option  "Protocol"  "ImPS/2"

instead of "PS/2" for /dev/psaux. I use almost exactly the same
settings as you do (the exception is that my mouse is connected via
/dev/gpmdata because I run gpm). I know longer use a serial mouse, but
I could swear it used to work before I got a USB mouse

Also, all X clients do not understand the mouse wheel. I know the
Mozilla, XEmacs and XTerm certainly do since I use them all the
while. 

Cheers!
Shyamal



Re: can't bring up eth0 correctly

2003-06-16 Thread Shyamal Prasad
"charles" == charles yoo <[EMAIL PROTECTED]> writes:

charles> I should have written /etc/network/interfaces.  In
charles> reading a few things on the net, a lot of people
charles> suggested to have the autho eth0 commented out.  This is
charles> for a laptop.  I'm coming from redhat, and once dhcp is
charles> set, you can more or less leave it that way.

And so it is on Debian, but you need some additinal packages for the
laptop case where you plug/unplug cables frequently.

charles> All that I'm trying to do at the moment is get eth0 up
charles> and running.  I get alerts saying that there is no such
charles> process or device.

Hmmyou are confusing issues here. Does 'ifup eth0' bring up your
ethernet device with a valid dhcp address or not? If not, your problem
is probably from recompiling your kernel and not including (a) the
correct driver or (b) not setting the packet filter options (this is
not redhat, so you use ISC DHCP unless you installed pump, by
default). 

charles> When I restart networking, I expect to see eth0 come up,
charles> but it doesn't.

That is as it should, because you commented out the 'auto eth0' line.

charles> In /etc/network/interfaces, I have the following
charles> information

charles> I am basically looking to configure for dhcp only.  I
charles> have removed netenv, because it did not seem to work too
charles> well for me.  Maybe misconfigured.

Just add back the 'auto eth0' - removing it makes sense for PCMCIA
ethernet cards - and install laptop-net to ensure that dhcp does not
hang when you boot without a cable in the ethernet socket.

Cheers!
Shyamal
charles> -Original Message- From: Jason Kraftcheck
charles> [mailto:[EMAIL PROTECTED] Sent: Monday, June 16,
charles> 2003 5:49 PM To: [EMAIL PROTECTED] Cc:
charles> debian-laptop@lists.debian.org Subject: Re: can't bring
charles> up eth0 correctly

charles> charles yoo wrote:
>> I just went through my woody install on Inspiron 8200.  On the
>> initial installation, it gets its ip via dhcp.  All good.  I
>> did an apt-get for the 2.4-18 kernel, recompiled it with some
>> changes, restart and no more.  On ifconfig I see lo and eth0,
>> but I don't get anything.
>> 
>> 
>> 
>> In /etc/interfaces I have auto eth0 commented out and eth0 set
>> for dhcp.
>> 
>> 

charles> Shouldn't that be "/etc/network/interfaces"?

charles> I'm a little confused about what you are trying to do,
charles> and what exactly is failing.  The line "auto eth0" that
charles> you commented out is the line that causes the interface
charles> to be configured on boot.  It is quite common to not want
charles> the interface to be configured on boot for a laptop.
charles> However, if you remove the 'auto' entry, you need
charles> manually bring up the interface using 'ifup eth0'.  Have
charles> you tried doing that?

>>  If I manually try to assign the numbers it seems like it takes
>> it.  But when I add route gateway, I get that there is no such
>> device.
>> 

charles> Did you bring up the interface after setting the address?
charles> Presumably you are using ifconfig to set the address.
charles> Try "ifconfig eth0 up".

>> 
>> 
>> Any suggestions?
>> 
>> 

charles> Your /etc/network/interfaces file should look something
charles> like this:

charles> #auto eth0 iface eth0 inet dhcp

charles> You should then bring up the interface by doing: ifup
charles> eth0

charles> If the interface fails to come up, check your system logs
charles> for error messages.

charles> I think you might need to post a bit more information
charles> before anyone can be any more specific with an answer.
charles> What is the network chip?  Is it pcmcia/pccard or
charles> internal?  What are the contents of your
charles> /etc/network/interfaces What commands are you using to
charles> set the IP address?  What error message are you getting
charles> when you try to set the default route?  What related
charles> error messages are you seeing in your syslog?  What dhcp
charles> client do you have installed?


charles> -- jason






charles> -- To UNSUBSCRIBE, email to
charles> [EMAIL PROTECTED] with a subject of
charles> "unsubscribe". Trouble? Contact
charles> [EMAIL PROTECTED]



Re: Help selecting used laptop and peripherals to run debian woody

2003-06-17 Thread Shyamal Prasad
"Pierre" == Pierre B  writes:

Pierre> I've been asked to help someone select and buy a second
Pierre> hand laptop and install debian (woody) on it.

Pierre> I'm seeking advice concerning both trouble free
Pierre> installation, and, more importantly, trouble free use.

Pierre>Considerations that are not obvious to someone who is
Pierre> experienced installing debian, redhat, mandrake and
Pierre> windows, but only on desktops?

Pierre>For context, the requirement is more for mobility and
Pierre> small footprint inside the building rather than frequent
Pierre> travel.

I've been using Debian Woody (and in the last few months, Sarge) on a
Sony VAIO N505VE and a Compaq Armada M300 for a few years now with no
trouble to speak of. 

The Sony uses a non-standard IDE CDROM interface so the installation
requires a few parameters easily found with a Google search these days
(which was not true when I first used it).

Both computers are small, convenient, but I am not thrilled about
sheer physical build quality. Lots of small broken bits.

Cheers!
Shyamal



Re: printing to cups server from openoffice

2003-06-19 Thread Shyamal Prasad
"Michael" == Michael K O'Brien  writes:

Michael> Hola~ I have a Mac with an Epson Stylus 880 installed. I
Michael> have a laptop with unstable installed. I set "ServerName"
Michael> in /etc/cups/client.conf to point to my mac. If I run
Michael> "lpr someTextFile.txt", it prints fine. However, trying
Michael> to print ps, pdf, or from openoffice is greeted with
Michael> silence.

Michael> For example, if I run "lpr a.ps". The error log on the
Michael> Mac server says:

I [] Job 88 queued on 'Sylus_COLOR_880' by 'mobrien'.
E [] Unable to convert file 0 to printable format for job 88!

Michael> Is the problem with the Linux box or the Mac? How does
Michael> one convert post script to a printable format?

Well, I'm not sure if this will help, but here goes anyway

I had a similar problem in the other direction. Printing from my Mac
to my Debian Woody box did exactly the same thing. So, on my Debian
box I had to edit /etc/inetd.conf to say

printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd \
   -o document-format=application/octet-stream

to force cups to figure out the type correctly.

Perhaps this gives you the clue you need on the Mac.here's
hoping. It's my wife's Mac, so I tend not to hack it too much even if
it is a BSD box.

Now if I could just get the Mac to treat my Debian box as a real cups
server. I seem to be able to print to it merely as an lpd
device. Aaargh 


Cheers!
Shyamal



Re: trying to install onto toshiba portege 3500, no floppy but has external cd

2003-07-03 Thread Shyamal Prasad
"Walter" == Walter Tautz <[EMAIL PROTECTED]> writes:

Walter> the cd drive is a USB external, model plextor PX-208U
Walter> CD-RW alas the system doesn't boot from the external
Walter> drive...

So, how do you boot it?


Did you consider booting from hard disk (DOS)?

http://www.debian.org/releases/stable/i386/ch-rescue-boot.en.html#s-install-drive

Cheers!
Shyamal



Re: USB on dell 5100

2003-07-30 Thread Shyamal Prasad
"Abhay" == Abhay Pradhan <[EMAIL PROTECTED]> writes:

Abhay>  hi i'm trying to get USB to work on my dell 5100 laptop.
Abhay> i'm running debian on it.

Abhay>  could anyone please point me to the right direction on the
Abhay> way to do this?  wot packages do I need to get etc etc.

Try telling is what you are seeing fail.

apt-get install kernel-image-2.4.18-686
apt-get install hotplug

What is going wrong?

Cheers!
Shyamal



Re: USB on dell 5100

2003-07-31 Thread Shyamal Prasad
"Abhay" == Abhay Pradhan <[EMAIL PROTECTED]> writes:

Abhay> On Wed Jul 30, 2003 at 08:03:14PM -0500 Shyamal Prasad
Abhay> chose to say...
>>  Try telling is what you are seeing fail.
>> 
>> apt-get install kernel-image-2.4.18-686 apt-get install hotplug
>> 
>> What is going wrong?
>> 
>> Cheers!  Shyamal


Abhay> well, i didnt know anything about hotplug. i just
Abhay> recompiled my kernel (2.4.20) with USB support.

Personally, I'd try the prebuilt Debian kernel first. It gets rid of a
lot of problems and works on a large class of hardware. Being highly
modular the only bloat is in disk space and a slightly longer boot. I
strongly recommend it unless you have a good reason not to use it.

Abhay> Here is my relevant dmesg output


Abhay>  [...snip]

Abhay> so it has recognized both my mouse and keyboard. so now how
Abhay> do i get it to work! :)

Frankly, I don't remember ;-) Seriously though, I use a prebuilt
2.4.18 kernel with hotplug and it just works out of a box for a USB
keyboard and mouse. Did you try hotplug?

Sorry, I know I'm not supposed to sound so ignorant when I'm trying to
help.

Cheers!
Shyamal



Re: X11 forwarding problem

2003-08-03 Thread Shyamal Prasad
"E" == E L Willighagen  writes:

E> I quickly ssh-ed into my desktop machine and fired up an
E> xterm...  Cannot open display, bla bla...

E> I *did* do the normal 'xhost +laptop', ssh -X desktop, and
E> export DISPLAY=laptop:0.0... I even tried 'xhost +'... I still
E> get the "cannot open display" error...

The default Debian installation turns off X11 forwarding. Edit the
file /etc/ssh/sshd_config and make the change so it has the line

X11Forwarding yes

in it.

The default Debian X11 installation also configures X so that it will
ensure that your attempt to use xhost will fail. But once you have
X11Forwarding set up this does not matter.

Cheers!
Shyamal



Re: Wireless configuration?

2003-09-04 Thread Shyamal Prasad
"Keith" == Keith Lawson <[EMAIL PROTECTED]> writes:

Keith> I'm using kernel modules for my wireless card and I've
Keith> added them into /etc/modules so that they are loaded prior
Keith> to the /etc/init.d/networking script running. Why am I
Keith> getting these errors? Once the system is booted I can do
Keith> "ifdown eth1" followed by "ifup eth1" and the card gets
Keith> configured properly.

Keith> Also I was wondering if there is a way to configure the
Keith> card for multiple sites with different encryption keys?

Keith> I can do this all with shell scripts but would prefer to
Keith> use the "Debian way".

If this is a PCMCIA card you must not configure it with
/etc/init.d/networking because PCMCIA starts after the networking
subsystem. 

In simple terms: if you put the 'auto' keyword in the stanza for eth1
in /etc/network/interfaces you need to remove the word. This will tell
the /etc/init.d/networking script to leave it alone. Let the PCMCIA
subsystem bring up the interface for you when it starts.

If this is not a PCMCIA card you probably need to figure out when the
card is detected - clearl it is not available when the networking
script runs, or perhaps it is named something other than eth1.

Cheers!
Shyamal



Re: Two fixed network cards

2003-09-04 Thread Shyamal Prasad
"ThanhVu" == ThanhVu Nguyen <[EMAIL PROTECTED]> writes:

ThanhVu> I have a slightly different situation, at home my machine
ThanhVu> has a fixed static address in my local network.  But at
ThanhVu> school it uses dhcp.  Both places use wired ethernet so I
ThanhVu> only deal with 1 eth0 here.  So is there a way / or tool
ThanhVu> that can help me do this task

ThanhVu> Ask where am I : if (home) {set eth0 to use this static
ThanhVu> config} if (school) {set eth0 to use dhcp}

~$ apt-cache search laptop network
divine - Automatic IP configuration detection for laptops
guessnet - Guess what network is connected to an ethernet device
intuitively - Automatic IP configuration detection for laptops
laptop-net - Automatically adapt laptop ethernet
laptop-netconf - network detection and configuration program for laptops
rocks - Make network sockets reliable in a transparent way
tleds - Blinks keyboard LEDs indicating TX and RX network packets.
whereami - Automatically reconfigure your (laptop) system for a new location
pcmcia-cs - PCMCIA Card Services for Linux.

Personally, I use netenv (which does not show up in the list above)
but I've never had to mess with it since all my networks use dhcp. It
just worked out of the box for me for when I plug/unplug my ethernet
cable.

Cheers!
Shyamal



Re: usb mouse not recognised in kernel 2.4.22 (continued)

2003-09-09 Thread Shyamal Prasad
"Bob" == Bob Proulx <[EMAIL PROTECTED]> writes:

Bob> ben wrote:
>> if i enter modconf on my latest compile no usbmouse shows up,
>> however if i lsmod it appears. I am still not sure if this is
>> the problem as my kernel 2.4.18 (bf24) has this module loaded
>> and the mouse works, but I am willing to try anything at this
>> stage!

Bob> For USB mice and a modular kernel I have found experimentally
Bob> that I need to load the following two drivers.

Bob>   echo hid >> /etc/modules 
Bob>   echo mousedev >> /etc/modules

Bob>   modprobe hid modprobe mousedev

Bob> With these loaded everything works fine for me.

There was a time I actually understood the USB subsystem (two years
ago or so). Now all I do is

- use a stock Debian woody kernel (2.4.18-{k7|686}) in my case)
- apt-get install hotplug

and it all works pretty much by itself. With my USB keyboard and mouse
I see

$ /sbin/lsmod | grep usb
usbkbd  2944   0 (unused)
usbmouse1792   0 (unused)
input   3424   0 [keybdev usbkbd mousedev hid usbmouse]
usb-uhci   21508   0 (unused)
usbcore49696   1 [usbkbd hid usbmouse usb-uhci]

Cheers!
Shyamal



Re: Not so good pcmcia lan performance

2003-09-29 Thread Shyamal Prasad

"ripley" == ripley   writes:

ripley> Today a guy at work ask me to test my pcmcia nic card.  We
ripley> transfered a big file via NFS.  We watched the
ripley> "performances" with nload.  The average transfer speed was
ripley> between 600 and 800 kBit/s.  I tried to transfer the same
ripley> file from the PC on my desk (less ram and CPU) and we got
ripley> about 12000KBit/s.

Were you running the same operating system on the desktop? And did you
use exactly the same network cable for both tests?

I would check to see that DMA is enabled on your drive, and use hdparm
to test HD performance. It might even be the major bottleneck (laptop
HDs are much slower than desktops).

Finally, PCMCIA NIC cards are not fast by design if I remember
correctly - they use a 16bit bus that is basically an ISA variant. A
factor of 2 right there might not be a surprise. 

I regularly see 1100 kBits/sec on a PCMCIA wireless card on 4
year old laptop hardware (the limit is my DSL line, this is what I see
when apt-get updating etc.).

Cheers!
Shyamal



Re: reiserfs vs ext3fs

2003-10-06 Thread Shyamal Prasad
"Magnus" == Magnus von Koeller <[EMAIL PROTECTED]> writes:

Magnus> On Monday 06 October 2003 14:06, PF wrote:
>> I found no faq or thread about comparing ReiserFS and Ext3FS
>> for use on laptops.

Magnus> Well, I always use ReiserFS (out of no particular reason,
Magnus> apart from maybe it being in the official kernel sources
Magnus> so early). And it works perfectly on my laptop. I never
Magnus> tried anything else, though.

Another opinion: I always use ext3 for no particular reason but that
it is compatible with ext2. Performance? Can't say I care, and I
really can't tell that ext3 is any slower than ext2. When I'm on that
airplane I'd rather have battery life than speed anyway (guess I
should be using ext2, huh? ;-)

I can say that ext3 is super reliable - I've had a 2.4.18 686 (Woody)
kernel with all but root fs using ext3 up for over 370 days now as a
work group CVS/web/jitterbug server.

Cheers!
Shyamal



Re: Network Server

2003-10-06 Thread Shyamal Prasad
"Nicolas" == Nicolas Silva <[EMAIL PROTECTED]> writes:

Nicolas> While installing Debian on my laptop by the network
Nicolas> procedure. After I set by DHCP my network and everything
Nicolas> goes fine. Im ready to download the base system. The
Nicolas> default server that the installation gives you does not
Nicolas> work. It says it cannot find the release. I went to the
Nicolas> command line and checked the my connection by pinging a
Nicolas> random server and it worked.  The I when to the debian
Nicolas> site and start choosing different htpp servers no
Nicolas> luck. Im installing 2.4.18-bf2.4

Nicolas> how can I go about it..

Whata disk set and release are you using? Woody? Sarge? If Woody,
which net install CD are you using?

What does the file /etc/apt/sources.list contain?

For Woody try something like:

deb http://http.us.debian.org/debian/ woody main non-free contrib
deb-src http://http.us.debian.org/debian/ woody main non-free contrib
deb http://non-us.debian.org/debian-non-US woody/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US woody/non-US main contrib 
non-free
deb http://security.debian.org/ stable/updates main contrib non-free

Cheers!
Shyamal



Re: Toshiba Satellite Pro 420cdt without floppy

2002-03-15 Thread Shyamal Prasad
"Jaye" == Jaye Inabnit ke6sls <[EMAIL PROTECTED]> writes:

Greetings:

Jaye> I just received this laptop for cheep.  It has 40mb Ram(max)
Jaye> & 1.2gb hd.  The only problem getting linux on it is that it
Jaye> has no floppy.  I tried to boot using it's cdrom drive, but
Jaye> the prehistoric bios doesn't look for cdrom, only
fdd> hdd or hdd>fdd.

Jaye> Looking around for a floppy, I found resale sites wanting
Jaye> over $100 for a silly floppy drive!  That is more than I
Jaye> paid for the old laptop.  On Ebay, I found several, and they
Jaye> have a small cord with an odd connector.  These are going
Jaye> for $2 to $10 and I wonder if there is a way to learn which
Jaye> one would fit this laptop.  Toshiba doesn't make it
Jaye> available which fits what.

I hope you have some version of Windows on your machine.  If you are
prepared to install Linux without a floppy look in the Debian
installation guide. It is possible to use LOADLIN to boot Linux from
Windows I believe.

Be sure to look at Toshiba's web site for BIOS upgrades, though how
you can upgrade the BIOS without a floppy is an interesting question,
unless you have windows. A newer BIOS might allow you to boot from a
CD ROM (since it should just show up as a different IDE device).

I got a Toshiba Tecra (48M/1.2G) for real cheap ($1) some time ago and
I had a bear of a time getting a PCMCIA and/or a D-Link ethernet card
working in the docking station. I found a lot of very, very useful
information on the Toshiba web site including a BIOS upgrade, and very
detailed user documentation, albeit in very odd formats that required
me to use MS Windows. This is even though the machine in question was
first released about 6 years ago. The Tecra now works (though I had to
patch the SCSI driver to work around a broken PCI bus, hey, it was
only $1 and another $8 for an old SCSI CD ROM drive :-)

Cheers!
Shyamal




Re: newbie soundcard problem

2002-03-18 Thread Shyamal Prasad
"nick" == nick phillips <[EMAIL PROTECTED]> writes:

nick> so, all this leads me to believe i need to load a driver for
nick> the soundcard, which is a yamaha opl-sa3. however, i'm not
nick> sure how i do that! i tried running dselect, but i don't see
nick> any sound driver packages, and i'm kind of at a loss as to
nick> how to configure the sound driver. if someone could help me
nick> out, or point me towards a website that would help, i would
nick> really appreciate it!

I don't run 2.2.x kernels anymore, and I don't have the sources
handy. But on my 2.4.17 kernel I see an opl3sa2 module. Look in
/lib/modules/2.2.19/sound for a file like opl3sa2.o. The SA2 driver
claims to be for the OPL3-SA3 also.

You should be able to do a 'modprobe opl3sa2' to get it to run. Make
sure that the user who wants to use sound is in the 'audio' group (see
'man adduser' for "add an existing user to an existing group" or edit
/etc/group).

I don't own any of your hardware (heck, I don't even run the same
kernel version) so your mileage will vary ;-)

Cheers!
Shyamal



Re: Periodic distro question

2002-03-27 Thread Shyamal Prasad
"Tom" == Tom Allison <[EMAIL PROTECTED]> writes:

Tom> At this point I'm actually thinking of going back to
Tom> SlackWare or possibly looking into RedHat because of the
Tom> extensive bloat that Debian has shown and the latency of the
Tom> distributions.

As a long time Slackware user (almost from day one) who has now moved
exclusively to Debian I can only say that Debian is hardly bloated. I
run it on (among other things) a 120 Mhz machine with 48M RAM/1.2Gig
drive with great success.

Tom> One thing that I'm really frustrated in right now is that the
Tom> Debian Stable is whoefully behind everything else on the
Tom> internet. Technically, I cannot run the XFree 3.3.6 that is
Tom> provided.

Yup. :-(

Tom> But migration to Testing has resulted in a cascade of updated
Tom> packages, many of whom overwrite my existing configurations.
Tom> This really pisses me off to no end.  Combine this with the
Tom> continued abstraction levels of Debian and it is now getting
Tom> harder to use Debian and understand other distributions as
Tom> well.  This niche specialization may have won arguements with
Tom> Debian, but it's at a high price with respect to
Tom> interchangeable configurations.  I may be able to fix
Tom> something on Debian, but not on any other distro.

I have never lost a configuration file while updating to testing, or
updating testing (which I do at least once a week). The only bug that
has seriously affected me is that gpm insists on starting each time I
upgrade it even while I have it stopped (well, yes, I really need to
use gpmdata and stuff ;-)

Debian is a little abstracted, but I'm not sure why you are seeing so
many problems. Perhaps you want to bea littl more specific (what files
were lost? What abstraction is getting in your way?).

Good luck whichever way you choose to go!

Cheers!
Shyamal



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Periodic distro question

2002-03-29 Thread Shyamal Prasad

"vivek" == vivek  <[EMAIL PROTECTED]> writes:

vivek> [ Note - this sig picked at random - the sig picker is just
vivek> a little psychic from time to time... ]

vivek> -- Manual? We've just been pushing buttons til it works...

Aahhhthe new, improved (TM) Debianized fortune package ;-)

/Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: External Monitor on IBM Thinkpad T23

2002-04-01 Thread Shyamal Prasad
"Andreas" == Andreas Locatelli <[EMAIL PROTECTED]> writes:

Andreas> Hi all!

Andreas> I've got Woody installed on a T23 Thinkpad.

Andreas> My problem is that I don't seem to be able to drive the
Andreas> external monitor with an adequate refresh rate.

Andreas> Even if I specify a modeline, or tune with Xvidtune, I
Andreas> always have 1280x1024/60Hz and I'd like at least
Andreas> 1280x1024/75Hz (85 would also be cool)

This might not be relevant, but here goes

I have a Compaq Armada M300. I had the same problem. I found that with
XFree86 4.x and Windows 98 I can never get the external display to use
a high refresh rate (85Hz) until I shut off the LCD. If the LCD is
running, I get 60Hz come what may.

Maybe there's a solution, and in that case I'd love to know it. On the
other hand.. ;-)

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Need help with Woody on Toshiba Libretto 70CT

2002-04-09 Thread Shyamal Prasad
"nick" == nickmessenger   writes:

nick> devices and some how I have installed support for IBM scsi
nick> KD-7000 whatever that is, anyway it fails to locate this
nick> piece of hardware and I think if I removed this it would
nick> speed up the startup. When I startX I get a message in
nick> XConsole which describes the failed search for IBM KD-7000
nick> scsi device. How can I remove this?

Use dselect or apt to install a idepci kernel. You probably used a
kernel version that has SCSI in it. Something like
kernel-image-2.2.20-idepci (or kernel-image-2.4.18-idepci) is what you
want.

Issuing 'apt-get install kernel-image-2.2.20-idepci' should do it.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian PC Requirements

2002-04-09 Thread Shyamal Prasad
"Ron" == Ron Reinhart <[EMAIL PROTECTED]> writes:

Ron> I hate to date myself so badly but it seems to me that
Ron> professors where running Linux on 8088's and 8086's around
Ron> 1990 or so before 32bit Intel chips.  I was running OS9 on a
Ron> CoCo3 at the time so I can't say from my own experience.
Ron> Regards, Ron

You're probably thinking Minix (students were using it, like your's
sincerely). The Minix source license was a little restrictive if I
remember right. Linux required 386 starting out, because it used the
virtual memory features in the 386. I guess I just dated myself
too...

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian laptop for a train hopper

2002-04-12 Thread Shyamal Prasad
"Heather" == Heather Stern <[EMAIL PROTECTED]> writes:

Heather> On Fri, Apr 12, 2002 at 05:24:15PM -0700, wandering jason
Heather> wrote:
>> 
>> i'll use the laptop mostly for programming, writing, browsing,
>> and listening to news and lectures.  i need something that will
>> run fine with potato, including X.  and i need something as
>> light and durable as possible--i hop freight trains when
>> traveling and plan to take the laptop with me.
>> 

Heather> A number of my friends have had Sony laptops in the last
Heather> few years, and all of them have been fairly fragile.


I've owned a Sony N505VE for two years now, and it was my sole laptop
for the first year. It's the size of a 8.5x11 inch sheet of paper, and
less then an inch thick. I had to buy a D-link ethernet card/modem
combo (there's no ethernet and the internal modem is useless for
Linux). 

Last year my employer gave me a Compaq Armada M300. A tad larger than
the VIAO, but faster, and it has a built in ethernet port. The modem
is a Lucent based chipset rumored to work with Linux, but I've never
used it yet.  

I've logged over 50,000 miles of air travel with these machines in
each year that I used them. I take reasonable care of them, but they
do get slotted into the front jacket of my carry on suitcase. I chose
these machines particularly for size and weight, so I would not need a
lap top bag with my suitcase. Both machines have held out well. The
Sony has developed a hairline crack on the battery this month (28
months later), but the Compaq is generally flimsier (PC card eject
button broke, stuff on the docking attatchment has come lose etc.)

I run Debian on the Compaq, Slackware on the Sony. I've written tons
of code on the little Sony while on flights, trains and buses pretty
much all over the world. It's small, light, and if I had to do it
again I probably would go for the newer Sony's since they include an
ethernet port. Sony machines are frightfully unfriendly in terms of
information required to install Linux though.nice hardware but
with very bad software.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: about upgrading the kernal

2002-04-18 Thread Shyamal Prasad
"Olaf" == Olaf Meeuwissen <[EMAIL PROTECTED]> writes:

Olaf> "Robert Hood, Ph.D." <[EMAIL PROTECTED]> writes:
>> Hi, this list has been really helpful so far.
>> 
>> just a newbie question: I've read that the short answer to when
>> to upgrade my kernal is *never* -- but my gateway 2500 needs
>> some usb support not in the current kernal (2.2).  Is there
>> something like "apt-get" for a new kernal that will hold my
>> hand through the process?

Olaf> host:~# /usr/bin/apt-get install kernel-image-2.4.18

Olaf> should be a decent starting point.  The postinst script does
Olaf> a pretty good job of making sure you will be able to
Olaf> (re)boot with your brand new kernel as the default.  Eh,
Olaf> assuming you have not messed with the lilo setup too much.

This works and is a great suggestion.

Just FYI, it will give you a warning about initrd during the install
that might scare you, but is self explanatory. Don't worry about it.
Go to a different console, load /etc/lilo.conf into an editor, and add
a line like 'initrd=/initrd.img' like the message from the installer
says. Save the file, continue with the installation. As long as you
have the /vmlinux.old image in lilo.conf that was put in by the
original install there is very little chance that you will end up with
a non bootbale system.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: none

2002-04-18 Thread Shyamal Prasad
"dutch" == dutch  <[EMAIL PROTECTED]> writes:

dutch> Generally speaking, what whould cause my laptop to freeze?

dutch> Dell Inspiron 4100.  Just installed debian woody,then
dutch> upgraded kernel to 2.4.18 Still no Xwindows working but
dutch> getting close (I get the black/white checkered screen with
dutch> the big X in the center but nothi9ng happens - another
dutch> story for another time).

Power management? rmmod the apm module if you have it installed and
see? 

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian proof

2002-04-23 Thread Shyamal Prasad
"Eckhard" == e doll <[EMAIL PROTECTED]> writes:

Eckhard> Hallo Liste!  Some time ago I asked, here in the list,
Eckhard> how to install Debian/Gnu on a Gericom M6T and got some
Eckhard> helpful feedback.

Eckhard> Now, unfortunatly, some days ago, somebodey did some
Eckhard> housebraeking and stole the whole thing.

Eckhard> My question, which current laptop around 2000 € is the
Eckhard> best choice for Debian? (My insurance compels me to buy a
Eckhard> new one, otherwise they pay me only the current value and
Eckhard> not the purchase price)

I use a Compaq Armada M300 (1 year old). It runs Woody nicely. I have
never used Irda on it (does not work with the official Win98 either),
and modem is a Winmodem (Lucent, supposed to work). Everything else
seems to be fine. I can recommend it if you are looking for a small
machine. 

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pcmcia-cs package bug?

2002-04-23 Thread Shyamal Prasad
"glynis" == glynis  <[EMAIL PROTECTED]> writes:

glynis> i don't have my eth0 pc card listed, since cardmgr runs
glynis> /etc/pcmcia/network, which runs dhclient for me.

This might not be helpful, but I know that recent versions of
pcmcia-cs specifically detect Debian systems, and invoke ifup/ifdown
instead of doing the "usual" thing. I remember upgrading pcmcia-cs
just so I could use that feature. Is there a specific reason you are
fighting it?

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Using a PS/2 mouse, USB wheel mouse, gpm, and X simultaneously?

2002-04-26 Thread Shyamal Prasad

Hi,

Is there some way to get gpm to read /dev/psaux as a PS/2 mouse,
/dev/input/mice as a ImPS/2 mouse, and repeat everything to
/dev/gpmdata so that both gpm and X can use them, and I can still use
the wheel on the ImPS/2 mouse on consoles and in X applications?

Here is some context:

My Compaq Armada M300 has a built in PS/2 mouse that works with gpm
and XFree86 4.1.x (this is a Woody system that is dist-upgraded
regularly), but not if both gpm and X try to use it. I run gpm like
this (via gpm.conf and so on)

/usr/sbin/gpm -m /dev/psaux -t ps2 -Rraw

and I configure XF86Config-4 to use /dev/gpmdata as a PS/2 mouse device.

Now I found this really nice Logitech USB wheel mouse (M-BE58) at the
office that is a dream to use. So, I got these two stanza's in
XF86Config-4 


Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/gpmdata"
Option  "Protocol"  "PS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

and both mice work perfectly in X. I can scroll my emacs buffers with
the wheel. Wh! But, of course, gpm won't see the USB mouse, so I
add some parameters to gpm.conf to have it read both devices and
repeat and so on.

However, all attempts to get these mice to work with both X *and* gpm
at the same time while still being able to use the wheel (imps2) were
a miserable failure. For example


/usr/sbin/gpm -m /dev/psaux -t ps2 -Rraw -M -m /dev/input/mice -t imps2

goes nowhere and so on. I can get the two mice to work if I treat the
USB mouse as a PS/2 mouse. But then I lose that wheel

Is there a way to tell gpm *not* to repeat just one of a set of
specific device? Then perhaps I could have it not repeat the USB
mouse, because I'm thinking that driver does not mind be read by both
gpm and X simultaneously, while /dev/psaux does? 

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Panasonic cf-62

2002-05-08 Thread Shyamal Prasad
"Florian" == Florian Schulte <[EMAIL PROTECTED]> writes:

Florian> I'm trying to install the Potato Version of Debian on my
Florian> Laptop.

Florian> I need some details about the hardware, especially wether
Florian> a scsi controller is onboard.

What kind of laptop is it? ;-)

Florian> After the Installation of Debian, during the
Florian> configuration:

Florian> Kernel Panic: unable to resolve a scsi host.

In the dmesg output can you tell what SCSI driver is being loaded?

Florian> I never found something like  a scsi port or a scsi drive
Florian> in my laptop.

Florian> But Debian thinks my Pd/ cdrom is an scsi controller

It might be. I got an old Tecra 700 that actually has a SCSI
controller in it's docking station, an AM53C974, which is what the
CDROM connected to. Even worse the PCI bridge was broken, and loading
the driver would panic the kernel (not like yours though). It took me
a few days of education before I could get it to work.

You could always install with the idepci flavor and see if it detects
your CDROM.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: journaling file system on thinkpad?

2002-05-09 Thread Shyamal Prasad
"Michael" == Michael Hothorn <[EMAIL PROTECTED]> writes:

Michael> Has anyone a thinkpad (or any other laptop) running a
Michael> journaling filesystem (reiserfs, xfs, ext3)? Is it safe
Michael> (in the kernel config it's still mentioned as
Michael> EXPERIMENTAL) and running stable?

Hi Michael,

I have kernel 2.4.18-k7 in Debian woody on a Compaq Armada M300 laptop
running ext3. My home built desktop is also running ext3 on non-root
partitions on a 60G drive. It has been up almost 3 weeks continously
but for one power failure when I flipped the wrong circuit breaker. No
problems at all, it works great, and recovery from the power failure
is a treat ;-)

Rune tune2fs -j /dev/hdxn on each ext2 partition you want to
convert. Change /etc/fstab so the partitions are listed as ext3. When
you convert you will get a .journal file in each partition root which
will go away on reboot. If you change the root partition to ext3 you
have to live with the .journal file even after the reboot too, there's
no easy way to get rid of it, and it's not worth the trouble IMHO. Do
not delete the .journal file! On my laptop that's how it is
(everything is on one partition), on the desktop the root partition is
ext2 and less than 200 Mb, the others are all ext3.

Cheers!
Shyamal



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound

2002-05-09 Thread Shyamal Prasad
"infectiousmg42" == infectiousmg42   writes:

infectiousmg42> I have a Toshiba 5000-104 and a Debian 3.0, but I
infectiousmg42> have no sound  

What audio chip? What kernel? Does dmesg show an audio device being
initialized? Look over http://www.linux-laptop.net/ for hints!

If dmesg shows an audtio device being initialized, did you add
yourself to the audio group? If not, modprobe the correct audio driver
if one is available. You could probably use lspci to get a hint about
the audio chip if you don't already know what it is.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Kernel PCMCIA/CardBus on a Tecra 8200

2002-05-15 Thread Shyamal Prasad
"Norman" == Norman Walsh <[EMAIL PROTECTED]> writes:

Norman> I'm trying to get kernel PCMCIA/CardBus support under
Norman> 2.4.18 working on my Toshiba Tecra 8200 (with the ToPIC100
Norman> bridge, I think, though there's some confusion about
Norman> that).

Since you're looking for hints, I'm sharing some possibly irrelevant
information (I don't know the Tecra 8200 at all).

I have a really old Tecra 700CT (P120/48 Mb) with a ToPIC bridge. I
had to have this line in /etc/defaults/pcmcia

PCIC_OPTS="do_pci_probe=0"

to get the bridge to work. lspci says I have:

00:02.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to CardBus 
Bridge for Notebooks (rev 04)

I'm running an up to date Woody system, with a custom 2.4.17 kernel,
and I'm NOT using the modules in the kernel tree, I'm using what comes
in the pcmcia-cs-source package.

Cheer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: runlevel 3 for a console login?

2002-07-12 Thread Shyamal Prasad
"Gale" == Gale Stafford <[EMAIL PROTECTED]> writes:

Gale> I assume this is the runlevel for a command-line login in
Gale> debian, as that is a standard across other distros. But my
Gale> system keep booting into a GUI.

Debian starts the GUI login, if one is installed, in all multi user
run levels. What you need to do is go to /etc/rc3.d/ and move the
Snnxxx link to Knnxxx where nn is a numeral, and xxx is the name of
your installed login manager. 

For example, if your GUI login is gdm, move S99gdm to K99gdm. You may
want to reduce 99 to a lower value if you want gdm to be shut down
earlier when you switch to runlevel 3 from some other level that has
gdm running.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: adding scripts to /etc/init.d ?

2002-07-19 Thread Shyamal Prasad
"Gale" == Gale Stafford <[EMAIL PROTECTED]> writes:

Gale> I want debian to start pump when it boots up, so that I dont
Gale> have to manually type "pump -i eth0" every time I boot my
Gale> computer. I read this morning that I need to add a script to
Gale> /etc/init.d for pump. Also I understand that I would need to
Gale> create a link from that script to a file in my /etc/rc3.d/
Gale> directory, since I boot into run level 3.  Are there any
Gale> good reading materials on the net that would help me write a
Gale> script to start/shutdown pump? I'm new to script-writing.

As an alternative, consider reading the man page for the interfaces
file (man interfaces). You could add lines like 

auto eth0
iface eth0 inet dhcp

and run dhclient automatially on start up.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PS/2 wheelmouse problem with Compaq Presario 1220

2002-09-29 Thread Shyamal Prasad
"Andre" == Andre Berger <[EMAIL PROTECTED]> writes:

Andre> * Juergen Stuber <[EMAIL PROTECTED]>, 2002-09-29
Andre> 12:35 -0400:
>> Andre Berger <[EMAIL PROTECTED]> writes: > Option "Protocol"
>> "PS/2"
>> 
>> Try "IMPS/2".
>> 
>> Jürgen

Andre> Unfortunately this makes my mouse jump around, "PS/2" seems
Andre> the only type possible. I assume a driver conflict between
Andre> the internal trackpad and the "IMPS/2" driver, since the
Andre> mouse itself works fine with a Dell Inspiron 2500
Andre> laptop. The BIOS of my machine doesn't have an option to
Andre> turn the trackpad off (unlike the Dell).

Try setting the type in /etc/gpm.conf to 'imps2' also if you have not
already done that. It might work out.
 
Cheers!
Shyamal



Re: Problems with pcmcia and Tecra 700ct

2002-10-01 Thread Shyamal Prasad
"Josiah" == Wm Josiah Erikson <[EMAIL PROTECTED]> writes:

Josiah> Hello all, I've seen a lot of complaining about this
Josiah> problem on the internet, but no solutions. I'm having the
Josiah> exact same problem as this guy:
Josiah> 
http://lists.debian.org/debian-laptop/2000/debian-laptop-25/msg00290.html

Josiah> I'm also having it with woody, kernel 2.2.20

Josiah> Is there any solution to this problem? Should I create a
Josiah> custom 2.4 kernel and bring it over with a floppy? It's a
Josiah> pain to be stuck without network :) I'm not on the list,
Josiah> so please cc: me on any replies. Thanks!  -Josiah


PCMCIA seems to work if you pass a "do_pci_probe=0" option in
/etc/defaults/pcmcia. I have a line that reads

PCIC_OPTIONS="do_pci_probe=0"

I got this from Pasi when I mailed him directly early this year
(poster of message linked above in your mail).

Cheers!
Shyamal




Re: sony vaio, does one need a pcmcia card to use the cdrom?

2002-10-04 Thread Shyamal Prasad

"Walter" == Walter Tautz <[EMAIL PROTECTED]> writes:

Walter> from some reports I've gotten this is apparently needed?
Walter> I have PCG-R505EL

Walter> Apparently one needs edit the file:
Walter> /etc/pcmcia/config.opts

Walter> and include irq exclusions?

I stopped using Linux on my N505VE a few months ago so I can't look up
the file anymore (the power input socket broke!!!) Here is where you
can look it up for the N505VE, it might work on the R505EL too.

   http://www.914fan.net/vaio/

Yes, and you do need to get pcmcia working on the N505VE. I don't know
about your specific model (does it have an internal drive?). I just
know I'm never buying Sony stuff again to run Linux!

Cheers!
Shyamal



Re: /etc/network/interfaces or /etc/pcmcia/network.opts?

2002-10-05 Thread Shyamal Prasad

"Bruce" == bestb   writes:

Bruce> Should it?? Is there a way to use the
Bruce> /etc/network/interfaces to bring the card back up
Bruce> automatically when resuming?? Or should I just go back to
Bruce> using the /etc/pcmcia/network.opts for configuring this
Bruce> card??

I don't use my Linux laptop much anymore. However, I did set it up
with /etc/network/interfaces. The one thing I do have is have the
hotplug interface installed (but I can't remember if that is relevant,
it has been almost a year since I fiddled with this stuff), and also
apm. The file /etc/apm/event.d/pcmcia from the pcmcia-cs package
seems to take care of the suspend/resume events.

I use a Compaq Armada M300, and I used to use a Sony Viao N505VE with
Orinoco "Silver" and a Cabletron RoamAbout 802.11 cards. This is stock
Woody, stock 2.4.18 kernels and stock pcmcia-cs installs. The hotplug
was to support USB keyboards/mice, but it might be related. Just can't
remember.

Cheers!
Shyamal





Re: /etc/network/interfaces or /etc/pcmcia/network.opts?

2002-10-07 Thread Shyamal Prasad
"Bruce" == Bruce Best <(CRO)" <[EMAIL PROTECTED]>> writes:

Bruce> Another problem (which also existed using the
Bruce> /etc/pcmcia/network.opts) is that the wireless card will
Bruce> not work if the onboard (wired) card is up; I _have_ to
Bruce> disable eth0 in order to get wlan0 to work. Generally, this
Bruce> isn't a big deal, as I don't have to switch between a wired
Bruce> and wireless network very often, but when I do, it means
Bruce> having to go in and manually bring up the wired interface,
Bruce> which is a bit of a pain.

Bruce> Shouldn't I be able to leave both up, and let the system
Bruce> find which one actually has a connection?

Bruce,

I'm stretched here, because I don't actually do this myself. However,
if you are using pump for dhcp you should be aware of bug
#121126 

http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=121126

If you do get this solved, please post your findings. I'd be
interested. A few years ago a friend got me to switch to pump from
good ol' dhpcd (or is it dhpcpd) and I remember being a little bummed
when I saw this bug somewhere.

Cheers!
Shyamal



Re: Module missing from kernel

2002-10-11 Thread Shyamal Prasad
"Hubert" == Hubert Chan <[EMAIL PROTECTED]> writes:

>> "Seneca" == Seneca <[EMAIL PROTECTED]> writes:
Hubert> [...]

Seneca> (c) add "alias char-major-10-135 off" to /etc/modules.conf

Hubert> It is not recommended to edit modules.conf directly, as
Hubert> your changes may/will be overwritten.  Create a file in
Hubert> /etc/modutils, and run update-modules, instead.

In this case update the file /etc/modutils/arch/i386 which contains
the entry 'alias char-major-10-135 rtc'

Cheers!
Shyamal





Re: Woody, Orinico, and Airport Base Station DHCP

2002-10-23 Thread Shyamal Prasad
"christophe" == christophe barbe <[EMAIL PROTECTED]> writes:

>> 
>> MTU problem perhaps?
>> 
>> A relatively quick test could be to decrease the MTU on your
>> wireless connection (from the laptop) to e.g. 600 and see
>> whether it makes any difference.

christophe> How can I do that ?

ifconfig eth0 mtu 600 #eth0 should be whatever your wireless card is

is the standard way of doing it (though I don't recall doing this on a
wireless card).



Re: Temperature Monitor

2002-10-23 Thread Shyamal Prasad
"Patrick" == Patrick Lane <[EMAIL PROTECTED]> writes:

Patrick> Is there any kind of temperature monitor utility? I'm
Patrick> running a compaq laptop and would love to be able to
Patrick> monitor it. I'm being pretty anal about my system temp
Patrick> after accidentally leaving my laptop on and putting it
Patrick> back in the bag. Two hours later the battery had no juice
Patrick> and I had one hell of a hot laptop =(

~$ dpkg -l '*sensor*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  ksensors   0.5-8  lm-sensors frontend for KDE
pn  libsensors-dev  (no description available)
un  libsensors0 (no description available)
ii  libsensors12.6.3-5Library to read temperature/voltage/fan sens
ii  lm-sensors 2.6.3-5Utilities to read temperature/voltage/fan se
ii  lm-sensors-2.4 2.6.3-1+10.00. Kernel drivers to read temperature/voltage/f
un  lm-sensors-mod  (no description available)
ii  lm-sensors-sou 2.6.3-5Kernel drivers to read temperature/voltage/f
ii  sensor-sweep-a 0.20.0-2   GNOME applet displaying system's health stat
pn  sensord (no description available)
ii  wmsensors  1.0.4-3WindowMaker dock applet for lmsensors

These work pretty well if you have a supported temp. sensor (i2c based
in my desktop). Will any of it work on your laptop? I don't know.

Cheers!
Shyamal



Re: pcmcia administration

2002-10-25 Thread Shyamal Prasad
"Stephane" == Stephane Provost  writes:

Stephane> You will need to install the pcmcia_cs package (look it
Stephane> up on freshmeat). I know there's a .deb package.

Stephane> Once you got that installed, I believe you'll have to
Stephane> compile the modules and your kernel to support
Stephane> these. Don't forget to select the right card type when
Stephane> compiling the pcmcia package, especially for the
Stephane> 3c589. You'll need to insmod it probably ("insmod 3c59x"
Stephane> does the job for me) and that should do it. If you
Stephane> didn't modify your startup files, you'll also need to do
Stephane> "/etc/init.d/networking start" to see eth0 back in your
Stephane> interfaces list.

In addition, the standard pcmcia distribution now detects and uses the
Debian network interfaces file (man interfaces). You can configure the
PCMCIA card just like any other network device via
/etc/network/interfaces. 

Install the iwconfig package, and you should be able to control the
wireless parameters via the interfaces file. Just at the word
wireless_ to the front of the iwconfig parameter name (for example, to
set essid use wireless_essid in the interfaces file).

If I'm making no sense to you it is probably because you have to go
try it ;-)

Cheers!
Shyamal



Re: Toshiba Satellite Pro 420cdt without floppy

2002-03-15 Thread Shyamal Prasad

"Jaye" == Jaye Inabnit ke6sls <[EMAIL PROTECTED]> writes:

Greetings:

Jaye> I just received this laptop for cheep.  It has 40mb Ram(max)
Jaye> & 1.2gb hd.  The only problem getting linux on it is that it
Jaye> has no floppy.  I tried to boot using it's cdrom drive, but
Jaye> the prehistoric bios doesn't look for cdrom, only
fdd> hdd or hdd>fdd.

Jaye> Looking around for a floppy, I found resale sites wanting
Jaye> over $100 for a silly floppy drive!  That is more than I
Jaye> paid for the old laptop.  On Ebay, I found several, and they
Jaye> have a small cord with an odd connector.  These are going
Jaye> for $2 to $10 and I wonder if there is a way to learn which
Jaye> one would fit this laptop.  Toshiba doesn't make it
Jaye> available which fits what.

I hope you have some version of Windows on your machine.  If you are
prepared to install Linux without a floppy look in the Debian
installation guide. It is possible to use LOADLIN to boot Linux from
Windows I believe.

Be sure to look at Toshiba's web site for BIOS upgrades, though how
you can upgrade the BIOS without a floppy is an interesting question,
unless you have windows. A newer BIOS might allow you to boot from a
CD ROM (since it should just show up as a different IDE device).

I got a Toshiba Tecra (48M/1.2G) for real cheap ($1) some time ago and
I had a bear of a time getting a PCMCIA and/or a D-Link ethernet card
working in the docking station. I found a lot of very, very useful
information on the Toshiba web site including a BIOS upgrade, and very
detailed user documentation, albeit in very odd formats that required
me to use MS Windows. This is even though the machine in question was
first released about 6 years ago. The Tecra now works (though I had to
patch the SCSI driver to work around a broken PCI bus, hey, it was
only $1 and another $8 for an old SCSI CD ROM drive :-)

Cheers!
Shyamal



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: newbie soundcard problem

2002-03-18 Thread Shyamal Prasad

"nick" == nick phillips <[EMAIL PROTECTED]> writes:

nick> so, all this leads me to believe i need to load a driver for
nick> the soundcard, which is a yamaha opl-sa3. however, i'm not
nick> sure how i do that! i tried running dselect, but i don't see
nick> any sound driver packages, and i'm kind of at a loss as to
nick> how to configure the sound driver. if someone could help me
nick> out, or point me towards a website that would help, i would
nick> really appreciate it!

I don't run 2.2.x kernels anymore, and I don't have the sources
handy. But on my 2.4.17 kernel I see an opl3sa2 module. Look in
/lib/modules/2.2.19/sound for a file like opl3sa2.o. The SA2 driver
claims to be for the OPL3-SA3 also.

You should be able to do a 'modprobe opl3sa2' to get it to run. Make
sure that the user who wants to use sound is in the 'audio' group (see
'man adduser' for "add an existing user to an existing group" or edit
/etc/group).

I don't own any of your hardware (heck, I don't even run the same
kernel version) so your mileage will vary ;-)

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Periodic distro question

2002-03-27 Thread Shyamal Prasad

"Tom" == Tom Allison <[EMAIL PROTECTED]> writes:

Tom> At this point I'm actually thinking of going back to
Tom> SlackWare or possibly looking into RedHat because of the
Tom> extensive bloat that Debian has shown and the latency of the
Tom> distributions.

As a long time Slackware user (almost from day one) who has now moved
exclusively to Debian I can only say that Debian is hardly bloated. I
run it on (among other things) a 120 Mhz machine with 48M RAM/1.2Gig
drive with great success.

Tom> One thing that I'm really frustrated in right now is that the
Tom> Debian Stable is whoefully behind everything else on the
Tom> internet. Technically, I cannot run the XFree 3.3.6 that is
Tom> provided.

Yup. :-(

Tom> But migration to Testing has resulted in a cascade of updated
Tom> packages, many of whom overwrite my existing configurations.
Tom> This really pisses me off to no end.  Combine this with the
Tom> continued abstraction levels of Debian and it is now getting
Tom> harder to use Debian and understand other distributions as
Tom> well.  This niche specialization may have won arguements with
Tom> Debian, but it's at a high price with respect to
Tom> interchangeable configurations.  I may be able to fix
Tom> something on Debian, but not on any other distro.

I have never lost a configuration file while updating to testing, or
updating testing (which I do at least once a week). The only bug that
has seriously affected me is that gpm insists on starting each time I
upgrade it even while I have it stopped (well, yes, I really need to
use gpmdata and stuff ;-)

Debian is a little abstracted, but I'm not sure why you are seeing so
many problems. Perhaps you want to bea littl more specific (what files
were lost? What abstraction is getting in your way?).

Good luck whichever way you choose to go!

Cheers!
Shyamal



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Periodic distro question

2002-03-29 Thread Shyamal Prasad


"vivek" == vivek  <[EMAIL PROTECTED]> writes:

vivek> [ Note - this sig picked at random - the sig picker is just
vivek> a little psychic from time to time... ]

vivek> -- Manual? We've just been pushing buttons til it works...

Aahhhthe new, improved (TM) Debianized fortune package ;-)

/Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: External Monitor on IBM Thinkpad T23

2002-04-01 Thread Shyamal Prasad

"Andreas" == Andreas Locatelli <[EMAIL PROTECTED]> writes:

Andreas> Hi all!

Andreas> I've got Woody installed on a T23 Thinkpad.

Andreas> My problem is that I don't seem to be able to drive the
Andreas> external monitor with an adequate refresh rate.

Andreas> Even if I specify a modeline, or tune with Xvidtune, I
Andreas> always have 1280x1024/60Hz and I'd like at least
Andreas> 1280x1024/75Hz (85 would also be cool)

This might not be relevant, but here goes

I have a Compaq Armada M300. I had the same problem. I found that with
XFree86 4.x and Windows 98 I can never get the external display to use
a high refresh rate (85Hz) until I shut off the LCD. If the LCD is
running, I get 60Hz come what may.

Maybe there's a solution, and in that case I'd love to know it. On the
other hand.. ;-)

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Need help with Woody on Toshiba Libretto 70CT

2002-04-09 Thread Shyamal Prasad

"nick" == nickmessenger   writes:

nick> devices and some how I have installed support for IBM scsi
nick> KD-7000 whatever that is, anyway it fails to locate this
nick> piece of hardware and I think if I removed this it would
nick> speed up the startup. When I startX I get a message in
nick> XConsole which describes the failed search for IBM KD-7000
nick> scsi device. How can I remove this?

Use dselect or apt to install a idepci kernel. You probably used a
kernel version that has SCSI in it. Something like
kernel-image-2.2.20-idepci (or kernel-image-2.4.18-idepci) is what you
want.

Issuing 'apt-get install kernel-image-2.2.20-idepci' should do it.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian PC Requirements

2002-04-09 Thread Shyamal Prasad

"Ron" == Ron Reinhart <[EMAIL PROTECTED]> writes:

Ron> I hate to date myself so badly but it seems to me that
Ron> professors where running Linux on 8088's and 8086's around
Ron> 1990 or so before 32bit Intel chips.  I was running OS9 on a
Ron> CoCo3 at the time so I can't say from my own experience.
Ron> Regards, Ron

You're probably thinking Minix (students were using it, like your's
sincerely). The Minix source license was a little restrictive if I
remember right. Linux required 386 starting out, because it used the
virtual memory features in the 386. I guess I just dated myself
too...

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: debian laptop for a train hopper

2002-04-12 Thread Shyamal Prasad

"Heather" == Heather Stern <[EMAIL PROTECTED]> writes:

Heather> On Fri, Apr 12, 2002 at 05:24:15PM -0700, wandering jason
Heather> wrote:
>> 
>> i'll use the laptop mostly for programming, writing, browsing,
>> and listening to news and lectures.  i need something that will
>> run fine with potato, including X.  and i need something as
>> light and durable as possible--i hop freight trains when
>> traveling and plan to take the laptop with me.
>> 

Heather> A number of my friends have had Sony laptops in the last
Heather> few years, and all of them have been fairly fragile.


I've owned a Sony N505VE for two years now, and it was my sole laptop
for the first year. It's the size of a 8.5x11 inch sheet of paper, and
less then an inch thick. I had to buy a D-link ethernet card/modem
combo (there's no ethernet and the internal modem is useless for
Linux). 

Last year my employer gave me a Compaq Armada M300. A tad larger than
the VIAO, but faster, and it has a built in ethernet port. The modem
is a Lucent based chipset rumored to work with Linux, but I've never
used it yet.  

I've logged over 50,000 miles of air travel with these machines in
each year that I used them. I take reasonable care of them, but they
do get slotted into the front jacket of my carry on suitcase. I chose
these machines particularly for size and weight, so I would not need a
lap top bag with my suitcase. Both machines have held out well. The
Sony has developed a hairline crack on the battery this month (28
months later), but the Compaq is generally flimsier (PC card eject
button broke, stuff on the docking attatchment has come lose etc.)

I run Debian on the Compaq, Slackware on the Sony. I've written tons
of code on the little Sony while on flights, trains and buses pretty
much all over the world. It's small, light, and if I had to do it
again I probably would go for the newer Sony's since they include an
ethernet port. Sony machines are frightfully unfriendly in terms of
information required to install Linux though.nice hardware but
with very bad software.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: about upgrading the kernal

2002-04-18 Thread Shyamal Prasad

"Olaf" == Olaf Meeuwissen <[EMAIL PROTECTED]> writes:

Olaf> "Robert Hood, Ph.D." <[EMAIL PROTECTED]> writes:
>> Hi, this list has been really helpful so far.
>> 
>> just a newbie question: I've read that the short answer to when
>> to upgrade my kernal is *never* -- but my gateway 2500 needs
>> some usb support not in the current kernal (2.2).  Is there
>> something like "apt-get" for a new kernal that will hold my
>> hand through the process?

Olaf> host:~# /usr/bin/apt-get install kernel-image-2.4.18

Olaf> should be a decent starting point.  The postinst script does
Olaf> a pretty good job of making sure you will be able to
Olaf> (re)boot with your brand new kernel as the default.  Eh,
Olaf> assuming you have not messed with the lilo setup too much.

This works and is a great suggestion.

Just FYI, it will give you a warning about initrd during the install
that might scare you, but is self explanatory. Don't worry about it.
Go to a different console, load /etc/lilo.conf into an editor, and add
a line like 'initrd=/initrd.img' like the message from the installer
says. Save the file, continue with the installation. As long as you
have the /vmlinux.old image in lilo.conf that was put in by the
original install there is very little chance that you will end up with
a non bootbale system.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: none

2002-04-18 Thread Shyamal Prasad

"dutch" == dutch  <[EMAIL PROTECTED]> writes:

dutch> Generally speaking, what whould cause my laptop to freeze?

dutch> Dell Inspiron 4100.  Just installed debian woody,then
dutch> upgraded kernel to 2.4.18 Still no Xwindows working but
dutch> getting close (I get the black/white checkered screen with
dutch> the big X in the center but nothi9ng happens - another
dutch> story for another time).

Power management? rmmod the apm module if you have it installed and
see? 

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian proof

2002-04-23 Thread Shyamal Prasad

"Eckhard" == e doll <[EMAIL PROTECTED]> writes:

Eckhard> Hallo Liste!  Some time ago I asked, here in the list,
Eckhard> how to install Debian/Gnu on a Gericom M6T and got some
Eckhard> helpful feedback.

Eckhard> Now, unfortunatly, some days ago, somebodey did some
Eckhard> housebraeking and stole the whole thing.

Eckhard> My question, which current laptop around 2000 € is the
Eckhard> best choice for Debian? (My insurance compels me to buy a
Eckhard> new one, otherwise they pay me only the current value and
Eckhard> not the purchase price)

I use a Compaq Armada M300 (1 year old). It runs Woody nicely. I have
never used Irda on it (does not work with the official Win98 either),
and modem is a Winmodem (Lucent, supposed to work). Everything else
seems to be fine. I can recommend it if you are looking for a small
machine. 

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: pcmcia-cs package bug?

2002-04-23 Thread Shyamal Prasad

"glynis" == glynis  <[EMAIL PROTECTED]> writes:

glynis> i don't have my eth0 pc card listed, since cardmgr runs
glynis> /etc/pcmcia/network, which runs dhclient for me.

This might not be helpful, but I know that recent versions of
pcmcia-cs specifically detect Debian systems, and invoke ifup/ifdown
instead of doing the "usual" thing. I remember upgrading pcmcia-cs
just so I could use that feature. Is there a specific reason you are
fighting it?

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Using a PS/2 mouse, USB wheel mouse, gpm, and X simultaneously?

2002-04-26 Thread Shyamal Prasad


Hi,

Is there some way to get gpm to read /dev/psaux as a PS/2 mouse,
/dev/input/mice as a ImPS/2 mouse, and repeat everything to
/dev/gpmdata so that both gpm and X can use them, and I can still use
the wheel on the ImPS/2 mouse on consoles and in X applications?

Here is some context:

My Compaq Armada M300 has a built in PS/2 mouse that works with gpm
and XFree86 4.1.x (this is a Woody system that is dist-upgraded
regularly), but not if both gpm and X try to use it. I run gpm like
this (via gpm.conf and so on)

/usr/sbin/gpm -m /dev/psaux -t ps2 -Rraw

and I configure XF86Config-4 to use /dev/gpmdata as a PS/2 mouse device.

Now I found this really nice Logitech USB wheel mouse (M-BE58) at the
office that is a dream to use. So, I got these two stanza's in
XF86Config-4 


Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/gpmdata"
Option  "Protocol"  "PS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

and both mice work perfectly in X. I can scroll my emacs buffers with
the wheel. Wh! But, of course, gpm won't see the USB mouse, so I
add some parameters to gpm.conf to have it read both devices and
repeat and so on.

However, all attempts to get these mice to work with both X *and* gpm
at the same time while still being able to use the wheel (imps2) were
a miserable failure. For example


/usr/sbin/gpm -m /dev/psaux -t ps2 -Rraw -M -m /dev/input/mice -t imps2

goes nowhere and so on. I can get the two mice to work if I treat the
USB mouse as a PS/2 mouse. But then I lose that wheel

Is there a way to tell gpm *not* to repeat just one of a set of
specific device? Then perhaps I could have it not repeat the USB
mouse, because I'm thinking that driver does not mind be read by both
gpm and X simultaneously, while /dev/psaux does? 

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: journaling file system on thinkpad?

2002-05-09 Thread Shyamal Prasad

"Michael" == Michael Hothorn <[EMAIL PROTECTED]> writes:

Michael> Has anyone a thinkpad (or any other laptop) running a
Michael> journaling filesystem (reiserfs, xfs, ext3)? Is it safe
Michael> (in the kernel config it's still mentioned as
Michael> EXPERIMENTAL) and running stable?

Hi Michael,

I have kernel 2.4.18-k7 in Debian woody on a Compaq Armada M300 laptop
running ext3. My home built desktop is also running ext3 on non-root
partitions on a 60G drive. It has been up almost 3 weeks continously
but for one power failure when I flipped the wrong circuit breaker. No
problems at all, it works great, and recovery from the power failure
is a treat ;-)

Rune tune2fs -j /dev/hdxn on each ext2 partition you want to
convert. Change /etc/fstab so the partitions are listed as ext3. When
you convert you will get a .journal file in each partition root which
will go away on reboot. If you change the root partition to ext3 you
have to live with the .journal file even after the reboot too, there's
no easy way to get rid of it, and it's not worth the trouble IMHO. Do
not delete the .journal file! On my laptop that's how it is
(everything is on one partition), on the desktop the root partition is
ext2 and less than 200 Mb, the others are all ext3.

Cheers!
Shyamal



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Sound

2002-05-09 Thread Shyamal Prasad

"infectiousmg42" == infectiousmg42   writes:

infectiousmg42> I have a Toshiba 5000-104 and a Debian 3.0, but I
infectiousmg42> have no sound  

What audio chip? What kernel? Does dmesg show an audio device being
initialized? Look over http://www.linux-laptop.net/ for hints!

If dmesg shows an audtio device being initialized, did you add
yourself to the audio group? If not, modprobe the correct audio driver
if one is available. You could probably use lspci to get a hint about
the audio chip if you don't already know what it is.

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




  1   2   >