Re: gdm fails

2003-10-23 Thread Martin Brenda
>  There is just one other problem--i can't get my
>  network connection working. The ethernet card is detected on boot but
>  i just can't seem to be able to get on the network.
>  Can somebody help me with commands that can help in configuring the network?.

Do you have configured your interfaces config file proper? You can find
it in /etc/network/interfaces. You also need the package ifupdown. It
configures your network interfaces based on the definitions in the
interfaces config file (e.g. on startup).

Martin Brenda

WWW: www.martinbrenda.de


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



Re: gdm fails

2003-10-23 Thread Lars Weissflog
Hi Aswin,

On Thu, 2003-10-23 at 00:00, Aswin Venkat wrote:
> Thanks for the information Lars.
> 
> There is just one other problem--i can't get my
> network connection working. The ethernet card is detected on boot but
> i just can't seem to be able to get on the network.
> Can somebody help me with commands that can help in configuring the network?.
> 
Well, this is not that easy. We need to know a lot about your "network".

First: Direct connection to the Internet from your machine (i.e. Modem -
what ever type - in/connected to your machine) or connection via a LAN
and a router?

Second: What bandwidth do you have? Just to make sure you have a
connection allowing you to download all the nice things we propose to
you - before Xmas next year ;-)

Third: If you post here, always try to submit as much information
related to your question as possible. That means, try to guess our next
questions and post the answers in advance. A simple "help, this doesn't
work" is by far to little for us to even guess where to start.

Until later this day...

Lars


> Thanks,
> Aswin
> 
> 
> On 22-Oct-2003, Lars Weissflog <[EMAIL PROTECTED]> wrote:
> 
>  > Hi Aswin,
>  > 
>  > 
>  > 
>  > On Wed, 2003-10-22 at 17:55, Aswin Venkat wrote:
>  > > Hi all-
>  > 
>  > > As Jaume suggested in an earlier email, i tried reconfiguring the
>  > > xserver--after playing around with some of the drivers, i used the vesa 
> driver(though my
>  > > video card is actua
>  > > lly ATI Tech-Radeon) with 24dpi and a high monitor resolution as the
>  > > default(though the manufacturer puts my monitors at 1024x768--i
>  > > found that using this resolution created a wide black border) i was able to
>  > > get gnome to work. I read in some website that Radeon is only supported by
>  > > Xfree86-4.3 and onwards, mine is Xfree86-4.1. Has anybody dealt with
>  > > this problem?. If that is indeed the case, can i use apt to upgrade
>  > > it or are there other things that have to be taken care of?
>  > > 
>  > The black border results from the fact that your laptop's BIOS doesn't
>  > stretch the smaller 1024x768 image to the maximum possible size of the
>  > screen. BTW, it would look nasty if it did so, since it would use some
>  > sort of interpolation to stretch it. Result would be sort of a "unsharp"
>  > image.
>  > 
>  > To get XFree 4.3, you don't have to upgrade to unstable or testing.
>  > Simply use backports.
>  > 
>  > Here is my /etc/apt/sources.list, containing all that you will probably
>  > need to get XFree 4.3, Gnome 2.2 and some other updated stuff. For me,
>  > that all works very well. Observe the comments below.
>  > 
>  > --- snip ---
>  >  this is woody himself
>  > deb http://ftp.de.debian.org/debian stable main contrib non-free
>  > deb http://ftp.de.debian.org/debian-non-US stable/non-US  main contrib
>  > non-free  
>  >  and some security updates
>  > deb http://security.debian.org stable/updates main contrib non-free
>  > 
>  >  XFree 4.3 backport
>  >  this should work as of today (2003-10-22), delivers 4.3.0
>  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
>  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
>  > # this time the server kicks me on connect.
>  >  TRY OUT by uncommenting below two lines
>  > #deb ftp://linux.upsa.es/pub/RC2/ ./
>  > #deb ftp://linux.upsa.es/pub/OO.O/ ./
>  > 
>  >  Gnome 2.2 backport to woody, including evolution 1.4.5
>  > deb
>  > http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody 
> gnome2.2/
>  > deb-src
>  > http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody 
> gnome2.2/
>  > 
>  > # MPlayer 
>  >  deb http://marillat.free.fr stable main
>  > 
>  > # Mozilla 1.4
>  >  deb http://debian.relativ.org/ ./
>  > 
>  >  official sources
>  > # deb-src http://ftp.debian.org/debian stable main contrib non-free
>  > # deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main
>  > contrib non-free
>  > 
>  > # EOF
>  > --- snap ---
>  > 
>  > HTH
>  > & 
>  > Good luck
>  > 
>  > Lars
>  > 
>  > > The other problem that i'm facing right now is that i can't get my
>  > > network connection working. I have a charter cable link at home. Can somebody 
> help me with commands that
>  > > can assist in configuring the network?. 
>  > > 
>  > >  > 
>  > >  > In Sid, I currently have X & KDE working fine.  After installing the base
>  > >  > Sid, I installed a basic gnome, cause someone suggested I use gdm (did
>  > >  > you mean gdm, or gmd?) as the logon window manager.  After that worked, I
>  > >  > installed KDE, and set gdm (gnome desktop manager) to choose KDE as the
>  > >  > desktop when the user logs in.
>  > > 
>  > > Sorry, typo there--i meant gdm. Does Sid refer to the testing or the
>  > > unstable debian distribution. 
>  > > 
>  > >  > 
>  > >  > I found gpm (general purpose mouse driver ?) was causing KDE to not start
>  > >  > after I add

RE: gdm fails

2003-10-23 Thread Chavez, Bruce
Title: RE: gdm fails







-Ursprüngliche Nachricht-
Von: Martin Brenda [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Oktober 2003 09:15
An: debian-laptop
Betreff: Re: gdm fails



>  There is just one other problem--i can't get my
>  network connection working. The ethernet card is detected on boot but
>  i just can't seem to be able to get on the network.
>  Can somebody help me with commands that can help in configuring the network?.


Try netcardconfig


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





USB wireless adapter auto startup

2003-10-23 Thread BenLau
Hi all!

  I recently got a USB wireless adapter( GW-US11H) . It required a
patched version of linux-wlan-ng. I have patched the source and install
it  After I added the configuration of wlan0 to /etc/network/interfaces
, and then I can use "ifup wlan0" to start up the device and gain IP
through DHCP successfully. However , I would like the device can start
up autoamatically. How can I make debian be able to do so?

Thanks for any help!

p.s that is my /etc/network/interfaces

iface wlan0 inet dhcp
wireless_mode managed
wireless_nick mylaptop
wireless_enc off
wireless_channel 1


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



No X on new install

2003-10-23 Thread Douglas Frank
Anders wrote:
>
> Depends on whether the problem is installing the proper
> packages or getting it to run when you are sure you have
> everything you need.
Yup!  That's my first issue.  The machine is a Compaq Presario 700US on 
which I did an ftp install from debian.org using the idepci floppy set.

I was a little surprised that the online installation guide doesn't take 
you through X-setup, I'd have thought that deserves a chapter all its 
own.   Oh well

During package download, I simply used tasksel, and selected just about 
everything except the "Jr." package, Fortran, and the server stuff; 
which I skipped.  I went through the various configuration dialogs 
(network, etc.) but there was nothing about X.

Now that the machine's booted, I can find the various X11 directories, 
and they're mostly populated, but one thing I have not found is the X 
server itself.  Where's the executable?  What's its name?  I wonder if I 
missed a package...?

...thanks for any thoughts...
--
Douglas Frank  DigitalWhoopsCompaqImeanHP Co.
ZKO110 Spit Brook Rd.   These are my principles;
603-884-0501   Nashua, NH USA 03062  if you object... I have others.


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


Re: USB wireless adapter auto startup

2003-10-23 Thread Tony Godshall
According to BenLau,
> Hi all!
> 
>   I recently got a USB wireless adapter( GW-US11H) . It required a
> patched version of linux-wlan-ng. I have patched the source and install
> it  After I added the configuration of wlan0 to /etc/network/interfaces
> , and then I can use "ifup wlan0" to start up the device and gain IP
> through DHCP successfully. However , I would like the device can start
> up autoamatically. How can I make debian be able to do so?
> 
> Thanks for any help!
> 
> p.s that is my /etc/network/interfaces
> 
> iface wlan0 inet dhcp
> wireless_mode managed
> wireless_nick mylaptop
> wireless_enc off
> wireless_channel 1

in /etc/network/interfaces, change 
  auto lo
to
  auto lo wlan0



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



Re: gdm fails

2003-10-23 Thread Aswin Venkat


Hi all-

 > > 
 > Well, this is not that easy. We need to know a lot about your "network".
 > 
 > First: Direct connection to the Internet from your machine (i.e. Modem -
 > what ever type - in/connected to your machine) or connection via a LAN
 > and a router?

Actually this is part of the problem. At home i have a connection via
a modem to the internet(through a gateway). At school however, the
connection goes via a LAN and router.

I was able to get the network running from home. I installed the package
laptop-net that uses debconf to guide the installation and it
worked. However, i am not sure how to handle two sets of networks--is
there a way the laptop can detect which network its on and get on it
or do i need two sets of /etc/interfaces/network files?


Essentially i want to have a /etc/interfaces/network file that does
something like

if @home then eth0 uses first network
else
[EMAIL PROTECTED] then eth0 uses the school network
else
eth0 uses available network(or atleast tries to)

I installed the whereami package which i thought should do that but i
was'nt able to get that to work. I read about another package ifplugd
that supposedly does that(available in the unstable distribution--i
have the stable version installed currently)
, i have'nt tried that out yet but i was
wondering if there is another way to do it

 > 
 > Second: What bandwidth do you have? Just to make sure you have a
 > connection allowing you to download all the nice things we propose to
 > you - before Xmas next year ;-)

The bandwidth is quite good(especially at school)
so i don't see a problem downloading stuff--chances are it
should be done well before
Xmas this year, not next;-) 

Also, lets say i add the following lines to my /etc/apt/sources.list,
can then just use

> >  > 
 > >  >  XFree 4.3 backport
 > >  >  this should work as of today (2003-10-22), delivers 4.3.0
 > >  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
 > >  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
 > >  > # this time the server kicks me on connect.
 > >  >  TRY OUT by uncommenting below two lines
 > >  > #deb ftp://linux.upsa.es/pub/RC2/ ./
 > >  > #deb ftp://linux.upsa.es/pub/OO.O/ ./
 > >  > 
 > >  >  Gnome 2.2 backport to woody, including evolution 1.4.5
 > >  > deb
 > >  > 
 > > http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody 
 > > gnome2.2/
 > >  > deb-src
 > >  > 
 > > http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody 
 > > gnome2.2/
 > >  > 
 > >  > # MPlayer 
 > >  >  deb http://marillat.free.fr stable main
 > >  > 
 > >  > # Mozilla 1.4
 > >  >  deb http://debian.relativ.org/ ./
 > >  > 
 > >  >  official sources
 > >  > # deb-src http://ftp.debian.org/debian stable main contrib non-free
 > >  > # deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main
 > >  > contrib non-free
 > >  > 
 > >  > # EOF
 > >  > --- snap ---


apt-get update

to install Xfree86 4.3/gnome2.2 etc or do i have to use

apt-get install XFree86

 
Thanks,
Aswin


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



Re: No X on new install

2003-10-23 Thread David Z Maze
Douglas Frank <[EMAIL PROTECTED]> writes:

> Now that the machine's booted, I can find the various X11 directories,
> and they're mostly populated, but one thing I have not found is the X
> server itself.  Where's the executable?  What's its name?  I wonder if
> I missed a package...?

Normally, you'd have a /usr/X11R6/bin/XFree86, with /etc/X11/X linking
to that.  This is provided in the xserver-xfree86 package.

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
-- Abra Mitchell


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



Re: No X on new install

2003-10-23 Thread Douglas Frank
Ah, poking around debian.org, I see that tasksel *should* have presented 
an X package right at the top of the screen. It didn't.  I'll try a 
reinstall with the full floppy set.
--
Douglas Frank  DigitalWhoopsCompaqImeanHP Co.
ZKO110 Spit Brook Rd.   These are my principles;
603-884-0501   Nashua, NH USA 03062  if you object... I have others.



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


Re: gdm fails

2003-10-23 Thread Lars Weissflog
Hi Aswin

On Thu, 2003-10-23 at 18:55, Aswin Venkat wrote:

> Actually this is part of the problem. At home i have a connection via
> a modem to the internet(through a gateway). 

Do you mean you have a 
a) modem connected to the Laptop or 
b) a modem connected to a gateway which the Laptop connects to?

> At school however, the
> connection goes via a LAN and router.

> I was able to get the network running from home. I installed the package
> laptop-net that uses debconf to guide the installation and it
> worked. However, i am not sure how to handle two sets of networks--is
> there a way the laptop can detect which network its on and get on it
> or do i need two sets of /etc/interfaces/network files?
> 
Read the documentation of laptop-net, its all in there. 

file:///usr/share/doc/laptop-net/laptop-net.pdf

Don't get me wrong on this: I could walk you through what I did for my
laptop, taking approximately a dozen mails in both directions. Reading
those, you will feel better if you read the docu first, then try it
yourself and use google to advance. If you want to use linux, you'll
have to spend a lot of time reading docu, man, info, on the web. 
Lists like this one are there to help you _after_ you have tried a lot
on your own. There are Howtos out there on nearly everything.

> 
> Essentially i want to have a /etc/interfaces/network file that does
> something like
> 
> if @home then eth0 uses first network
> else
> [EMAIL PROTECTED] then eth0 uses the school network
> else
> eth0 uses available network(or atleast tries to)
> 
laptop-net _can_ do so, but as far as I remember only for Networks where
it can sniff the traffic when physically connecting to it; for a Modem
connection you will have to tell laptop-net the scheme it shall use. On
the other hand, when you do an 'if-up ppp0' (or whatever your modem
device is), if-up sets everything so that the network 'knows' that
traffic will go out there and not use the LAN connection (which is eth0
and will be down if no cable is connected).
Okay, this gets complicated. Read Network-Howto, Modem-Howto and what
ever the point you at to understand what networking is about and how you
can influence it. If you understand it, you'll not need pre-build
scripts since you could do it by hand with only a few commands. 

To start with, read the laptop-net manual.

> I installed the whereami package which i thought should do that but i
> was'nt able to get that to work. I read about another package ifplugd
> that supposedly does that(available in the unstable distribution--i
> have the stable version installed currently)

STAY with that version! All you have requested so far (except for the
Xfree-Stuff) are working pretty well in stable. Networking is _basic_
stuff and _stable_. Please don't try to get more problems at a time than
one.

> , i have'nt tried that out yet but i was
> wondering if there is another way to do it
> 

laptop-net docu, see above; 

networking-Howtos, 
http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETDIALUP

modem-Howtos
http://www.tldp.org/HOWTO/HOWTO-INDEX/hardware.html

www.tldp.org in general.
[...]

>  >
> Also, lets say i add the following lines to my /etc/apt/sources.list,
> can then just use
> 
> > >  > 
>  > >  >  XFree 4.3 backport
>  > >  >  this should work as of today (2003-10-22), delivers 4.3.0
>  > >  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
>  > >  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
>  > >  > 
[...]
> 
> 
> apt-get update
> 
> to install Xfree86 4.3/gnome2.2 etc or do i have to use
> apt-get install XFree86
> 
First, you'll defenitely run into dependency warnings if not problems.
Replacing XFree 4.0 with 4.3 and Gnome 1.4 with 2.2 will replace at
least half of your system. So expect it to take some time (i.e. 2 or
more hours even with a good network connection) only for the
installation itself. But configuring the update may take even longer for
_you_.

Second, to upgrade XFree, put those lines in your sources.list, then run

apt-get update

and afterwards do a

apt-cache policy xserver-xfree86

This will tell you what version is installed and what the candidate for
an upgrade would be and where apt would get that new one from.

If that all goes well, post the result of the last step here and we'll
see if we can get you further.

'till then...
Lars
>  
> Thanks,
> Aswin
-- 
LarsWeissflog
[EMAIL PROTECTED] dot DE



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



detecting which eth0 config [was Re: gdm fails]

2003-10-23 Thread Tony Godshall
I used whereami (worked) and then guessnet (worked better)
and now a little script that's still a little rough.

Basically it outputs "work" or "home" or "site" based on
  ifconfig eth0 up # bring up eth0 without ip
  if arping   | grep -q ; then echo work
  elif arping   | grep -q ; then echo home
  ...
  ifconfig eth0 down # take ifconfig back down so ifup can doit 'right' for this net

I use the form of arping that's mac-only, but I don't
remember the opts for that right now.

Anyho, your script can then be put into the 'script' line
of your eth0 stanza (read man interfaces to find out about
the script line).

If you still need help tomorrow, let me know and I'll get
the full config off my laptop.

Tony

According to Aswin Venkat,
> 
> 
> Hi all-
> 
>  > > 
>  > Well, this is not that easy. We need to know a lot about your "network".
>  > 
>  > First: Direct connection to the Internet from your machine (i.e. Modem -
>  > what ever type - in/connected to your machine) or connection via a LAN
>  > and a router?
> 
> Actually this is part of the problem. At home i have a connection via
> a modem to the internet(through a gateway). At school however, the
> connection goes via a LAN and router.
> 
> I was able to get the network running from home. I installed the package
> laptop-net that uses debconf to guide the installation and it
> worked. However, i am not sure how to handle two sets of networks--is
> there a way the laptop can detect which network its on and get on it
> or do i need two sets of /etc/interfaces/network files?
> 
> 
> Essentially i want to have a /etc/interfaces/network file that does
> something like
> 
> if @home then eth0 uses first network
> else
> [EMAIL PROTECTED] then eth0 uses the school network
> else
> eth0 uses available network(or atleast tries to)
> 
> I installed the whereami package which i thought should do that but i
> was'nt able to get that to work. I read about another package ifplugd
> that supposedly does that(available in the unstable distribution--i
> have the stable version installed currently)
> , i have'nt tried that out yet but i was
> wondering if there is another way to do it
> 
>  > 
>  > Second: What bandwidth do you have? Just to make sure you have a
>  > connection allowing you to download all the nice things we propose to
>  > you - before Xmas next year ;-)
> 
> The bandwidth is quite good(especially at school)
> so i don't see a problem downloading stuff--chances are it
> should be done well before
> Xmas this year, not next;-) 
> 
> Also, lets say i add the following lines to my /etc/apt/sources.list,
> can then just use
> 
> > >  > 
>  > >  >  XFree 4.3 backport
>  > >  >  this should work as of today (2003-10-22), delivers 4.3.0
>  > >  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
>  > >  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
>  > >  > # this time the server kicks me on connect.
>  > >  >  TRY OUT by uncommenting below two lines
>  > >  > #deb ftp://linux.upsa.es/pub/RC2/ ./
>  > >  > #deb ftp://linux.upsa.es/pub/OO.O/ ./
>  > >  > 
>  > >  >  Gnome 2.2 backport to woody, including evolution 1.4.5
>  > >  > deb
>  > >  > 
> http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody 
> gnome2.2/
>  > >  > deb-src
>  > >  > 
> http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody 
> gnome2.2/
>  > >  > 
>  > >  > # MPlayer 
>  > >  >  deb http://marillat.free.fr stable main
>  > >  > 
>  > >  > # Mozilla 1.4
>  > >  >  deb http://debian.relativ.org/ ./
>  > >  > 
>  > >  >  official sources
>  > >  > # deb-src http://ftp.debian.org/debian stable main contrib non-free
>  > >  > # deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main
>  > >  > contrib non-free
>  > >  > 
>  > >  > # EOF
>  > >  > --- snap ---
> 
> 
> apt-get update
> 
> to install Xfree86 4.3/gnome2.2 etc or do i have to use
> 
> apt-get install XFree86
> 
>  
> Thanks,
> Aswin
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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



Re: No X on new install

2003-10-23 Thread Tony Godshall
> Now that the machine's booted, I can find the various X11 directories,
> and they're mostly populated, but one thing I have not found is the X
> server itself.  Where's the executable?  What's its name?  I wonder if
> I missed a package...?

sh-2.05b$ which X
/usr/bin/X11/X

If it won't start, to see what's wrong:
  X -probeonly


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



Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Joe Emenaker
I'm trying the Debian-packaged 2.6-test7 kernel and it's working great 
except for the sound.

When the module loader tries to load any of the sound modules, I'm 
getting a lot of "Unknown symbol" messages. For example, when I try the 
driver for my Intel 810 sound chip, I get:

joeslap:~# modprobe snd-intel8x0
WARNING: Error inserting snd 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/seq/snd-seq-device.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd-rawmidi.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd-timer.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd-pcm.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/pci/ac97/snd-ac97-codec.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_intel8x0 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/pci/snd-intel8x0.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)

That's when I try to load it from the command line. When the system 
tries to load it at boot time, I get this:

snd_intel8x0: Unknown symbol snd_ac97_resume
snd_intel8x0: Unknown symbol snd_pcm_new
snd_intel8x0: Unknown symbol snd_card_register
snd_intel8x0: Unknown symbol snd_card_free
snd_intel8x0: Unknown symbol snd_card_proc_new
snd_intel8x0: Unknown symbol snd_ac97_set_rate
snd_intel8x0: Unknown symbol snd_ac97_update_bits
snd_intel8x0: Unknown symbol snd_ac97_mixer
snd_intel8x0: Unknown symbol snd_card_new
snd_intel8x0: Unknown symbol snd_iprintf
snd_intel8x0: Unknown symbol snd_pcm_lib_malloc_pages
snd_intel8x0: Unknown symbol snd_pcm_lib_ioctl
snd_intel8x0: Unknown symbol snd_pcm_lib_free_pages
snd_intel8x0: Unknown symbol snd_kcalloc
snd_intel8x0: Unknown symbol snd_pcm_set_ops
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_list
snd_intel8x0: Unknown symbol snd_device_new
snd_intel8x0: Unknown symbol snd_pcm_suspend_all
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_integer
snd_intel8x0: Unknown symbol snd_pcm_lib_preallocate_pci_pages_for_all
snd_intel8x0: Unknown symbol snd_mpu401_uart_new
snd_intel8x0: Unknown symbol snd_pcm_period_elapsed
snd_intel8x0: Unknown symbol snd_ac97_tune_hardware
and this is the relevant portion of my /etc/modules.conf file:

alias char-major-116 snd
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-usb-audio
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=2 device_gid=29 device_mode=0660
options snd-intel8x0 index=0
options snd-usb-audio index=1
- Joe



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


Re: Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Rob Bos
On Thu, Oct 23, 2003 at 02:37:10PM -0700, Joe Emenaker wrote:
> I'm trying the Debian-packaged 2.6-test7 kernel and it's working great 
> except for the sound.

You probably need to install module-init-tools: 2.6 uses a different
module architecture than was used in previous iterations.

-- 
Rob Bos, [EMAIL PROTECTED],constainia.net}, world enough and time

"Happy the man, and happy he alone,
 He who can call today his own:
 He who, secure within, can say,
 Tomorrow do thy worst, for I have lived today."
-- Horace


pgp0.pgp
Description: PGP signature


Dualhead on laptop

2003-10-23 Thread Nicolas
Anyone get an exernal monitor working as a second screen (not twinview) with 
geforce2go (or what ever card you have)?  I tried as in the nVidia doc, but 
without success.  If I don't specify "screen 0" or "screen 1" in the Device 
section, the second monitor don't receive signal.  If I specify it, the 
laptop freeze :o(  If you need my XF86Config file, just let me know.

Thanks,

Nicolas
-- 
If God had a beard, he'd be a UNIX programmer.


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



Re: Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Joe Emenaker
Rob Bos wrote:

On Thu, Oct 23, 2003 at 02:37:10PM -0700, Joe Emenaker wrote:
 

I'm trying the Debian-packaged 2.6-test7 kernel and it's working great 
except for the sound.
   

You probably need to install module-init-tools: 2.6 uses a different
module architecture than was used in previous iterations.
 

Actually, I already had module-init-tools loaded.

I think the problem was the "device_gid=29" in the options line for the 
snd module:

  options snd major=116 cards_limit=2 device_gid=29 device_mode=0660

I took the device_gid=29 and re-ran update-modules and "depmod -a" and 
now it all loads okay. I'm not getting any sound yet... but I'm further 
along than I was.

- Joe





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


Re: Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Dave Carrigan
On Thu, Oct 23, 2003 at 06:58:48PM -0700, Joe Emenaker wrote:
> I took the device_gid=29 and re-ran update-modules and "depmod -a" and 
> now it all loads okay. I'm not getting any sound yet... but I'm further 
> along than I was.

Now all that's left is to run alsamixer and restore the sound
levels. They start out all at 0.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to Sex Pistols - New York (Never Mind The Bollocks...)


signature.asc
Description: Digital signature


Re: No X on new install

2003-10-23 Thread Tony Godshall
According to Douglas Frank,
> Ah, poking around debian.org, I see that tasksel *should* have presented 
> an X package right at the top of the screen. It didn't.  I'll try a 
> reinstall with the full floppy set.

or just apt-get update&&apt-get x-window-system



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



Re: gdm fails

2003-10-23 Thread Martin Brenda
>  There is just one other problem--i can't get my
>  network connection working. The ethernet card is detected on boot but
>  i just can't seem to be able to get on the network.
>  Can somebody help me with commands that can help in configuring the network?.

Do you have configured your interfaces config file proper? You can find
it in /etc/network/interfaces. You also need the package ifupdown. It
configures your network interfaces based on the definitions in the
interfaces config file (e.g. on startup).

Martin Brenda

WWW: www.martinbrenda.de



Re: gdm fails

2003-10-23 Thread Lars Weissflog
Hi Aswin,

On Thu, 2003-10-23 at 00:00, Aswin Venkat wrote:
> Thanks for the information Lars.
> 
> There is just one other problem--i can't get my
> network connection working. The ethernet card is detected on boot but
> i just can't seem to be able to get on the network.
> Can somebody help me with commands that can help in configuring the network?.
> 
Well, this is not that easy. We need to know a lot about your "network".

First: Direct connection to the Internet from your machine (i.e. Modem -
what ever type - in/connected to your machine) or connection via a LAN
and a router?

Second: What bandwidth do you have? Just to make sure you have a
connection allowing you to download all the nice things we propose to
you - before Xmas next year ;-)

Third: If you post here, always try to submit as much information
related to your question as possible. That means, try to guess our next
questions and post the answers in advance. A simple "help, this doesn't
work" is by far to little for us to even guess where to start.

Until later this day...

Lars


> Thanks,
> Aswin
> 
> 
> On 22-Oct-2003, Lars Weissflog <[EMAIL PROTECTED]> wrote:
> 
>  > Hi Aswin,
>  > 
>  > 
>  > 
>  > On Wed, 2003-10-22 at 17:55, Aswin Venkat wrote:
>  > > Hi all-
>  > 
>  > > As Jaume suggested in an earlier email, i tried reconfiguring the
>  > > xserver--after playing around with some of the drivers, i used the vesa 
> driver(though my
>  > > video card is actua
>  > > lly ATI Tech-Radeon) with 24dpi and a high monitor resolution as the
>  > > default(though the manufacturer puts my monitors at 1024x768--i
>  > > found that using this resolution created a wide black border) i was able 
> to
>  > > get gnome to work. I read in some website that Radeon is only supported 
> by
>  > > Xfree86-4.3 and onwards, mine is Xfree86-4.1. Has anybody dealt with
>  > > this problem?. If that is indeed the case, can i use apt to upgrade
>  > > it or are there other things that have to be taken care of?
>  > > 
>  > The black border results from the fact that your laptop's BIOS doesn't
>  > stretch the smaller 1024x768 image to the maximum possible size of the
>  > screen. BTW, it would look nasty if it did so, since it would use some
>  > sort of interpolation to stretch it. Result would be sort of a "unsharp"
>  > image.
>  > 
>  > To get XFree 4.3, you don't have to upgrade to unstable or testing.
>  > Simply use backports.
>  > 
>  > Here is my /etc/apt/sources.list, containing all that you will probably
>  > need to get XFree 4.3, Gnome 2.2 and some other updated stuff. For me,
>  > that all works very well. Observe the comments below.
>  > 
>  > --- snip ---
>  >  this is woody himself
>  > deb http://ftp.de.debian.org/debian stable main contrib non-free
>  > deb http://ftp.de.debian.org/debian-non-US stable/non-US  main contrib
>  > non-free  
>  >  and some security updates
>  > deb http://security.debian.org stable/updates main contrib non-free
>  > 
>  >  XFree 4.3 backport
>  >  this should work as of today (2003-10-22), delivers 4.3.0
>  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
>  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
>  > # this time the server kicks me on connect.
>  >  TRY OUT by uncommenting below two lines
>  > #deb ftp://linux.upsa.es/pub/RC2/ ./
>  > #deb ftp://linux.upsa.es/pub/OO.O/ ./
>  > 
>  >  Gnome 2.2 backport to woody, including evolution 1.4.5
>  > deb
>  > 
> http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
>  gnome2.2/
>  > deb-src
>  > 
> http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
>  gnome2.2/
>  > 
>  > # MPlayer 
>  >  deb http://marillat.free.fr stable main
>  > 
>  > # Mozilla 1.4
>  >  deb http://debian.relativ.org/ ./
>  > 
>  >  official sources
>  > # deb-src http://ftp.debian.org/debian stable main contrib non-free
>  > # deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main
>  > contrib non-free
>  > 
>  > # EOF
>  > --- snap ---
>  > 
>  > HTH
>  > & 
>  > Good luck
>  > 
>  > Lars
>  > 
>  > > The other problem that i'm facing right now is that i can't get my
>  > > network connection working. I have a charter cable link at home. Can 
> somebody help me with commands that
>  > > can assist in configuring the network?. 
>  > > 
>  > >  > 
>  > >  > In Sid, I currently have X & KDE working fine.  After installing the 
> base
>  > >  > Sid, I installed a basic gnome, cause someone suggested I use gdm (did
>  > >  > you mean gdm, or gmd?) as the logon window manager.  After that 
> worked, I
>  > >  > installed KDE, and set gdm (gnome desktop manager) to choose KDE as 
> the
>  > >  > desktop when the user logs in.
>  > > 
>  > > Sorry, typo there--i meant gdm. Does Sid refer to the testing or the
>  > > unstable debian distribution. 
>  > > 
>  > >  > 
>  > >  > I found gpm (general purpose mouse driver ?) was causing KDE to not 
> sta

RE: gdm fails

2003-10-23 Thread Chavez, Bruce
Title: RE: gdm fails







-Ursprüngliche Nachricht-
Von: Martin Brenda [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Oktober 2003 09:15
An: debian-laptop
Betreff: Re: gdm fails



>  There is just one other problem--i can't get my
>  network connection working. The ethernet card is detected on boot but
>  i just can't seem to be able to get on the network.
>  Can somebody help me with commands that can help in configuring the network?.


Try netcardconfig


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





USB wireless adapter auto startup

2003-10-23 Thread BenLau
Hi all!

  I recently got a USB wireless adapter( GW-US11H) . It required a
patched version of linux-wlan-ng. I have patched the source and install
it  After I added the configuration of wlan0 to /etc/network/interfaces
, and then I can use "ifup wlan0" to start up the device and gain IP
through DHCP successfully. However , I would like the device can start
up autoamatically. How can I make debian be able to do so?

Thanks for any help!

p.s that is my /etc/network/interfaces

iface wlan0 inet dhcp
wireless_mode managed
wireless_nick mylaptop
wireless_enc off
wireless_channel 1



No X on new install

2003-10-23 Thread Douglas Frank

Anders wrote:
>
> Depends on whether the problem is installing the proper
> packages or getting it to run when you are sure you have
> everything you need.

Yup!  That's my first issue.  The machine is a Compaq Presario 700US on 
which I did an ftp install from debian.org using the idepci floppy set.


I was a little surprised that the online installation guide doesn't take 
you through X-setup, I'd have thought that deserves a chapter all its 
own.   Oh well


During package download, I simply used tasksel, and selected just about 
everything except the "Jr." package, Fortran, and the server stuff; 
which I skipped.  I went through the various configuration dialogs 
(network, etc.) but there was nothing about X.


Now that the machine's booted, I can find the various X11 directories, 
and they're mostly populated, but one thing I have not found is the X 
server itself.  Where's the executable?  What's its name?  I wonder if I 
missed a package...?


...thanks for any thoughts...
--
Douglas Frank  DigitalWhoopsCompaqImeanHP Co.
ZKO110 Spit Brook Rd.   These are my principles;
603-884-0501   Nashua, NH USA 03062  if you object... I have others.




Re: USB wireless adapter auto startup

2003-10-23 Thread Tony Godshall
According to BenLau,
> Hi all!
> 
>   I recently got a USB wireless adapter( GW-US11H) . It required a
> patched version of linux-wlan-ng. I have patched the source and install
> it  After I added the configuration of wlan0 to /etc/network/interfaces
> , and then I can use "ifup wlan0" to start up the device and gain IP
> through DHCP successfully. However , I would like the device can start
> up autoamatically. How can I make debian be able to do so?
> 
> Thanks for any help!
> 
> p.s that is my /etc/network/interfaces
> 
> iface wlan0 inet dhcp
> wireless_mode managed
> wireless_nick mylaptop
> wireless_enc off
> wireless_channel 1

in /etc/network/interfaces, change 
  auto lo
to
  auto lo wlan0




Re: gdm fails

2003-10-23 Thread Aswin Venkat


Hi all-

 > > 
 > Well, this is not that easy. We need to know a lot about your "network".
 > 
 > First: Direct connection to the Internet from your machine (i.e. Modem -
 > what ever type - in/connected to your machine) or connection via a LAN
 > and a router?

Actually this is part of the problem. At home i have a connection via
a modem to the internet(through a gateway). At school however, the
connection goes via a LAN and router.

I was able to get the network running from home. I installed the package
laptop-net that uses debconf to guide the installation and it
worked. However, i am not sure how to handle two sets of networks--is
there a way the laptop can detect which network its on and get on it
or do i need two sets of /etc/interfaces/network files?


Essentially i want to have a /etc/interfaces/network file that does
something like

if @home then eth0 uses first network
else
[EMAIL PROTECTED] then eth0 uses the school network
else
eth0 uses available network(or atleast tries to)

I installed the whereami package which i thought should do that but i
was'nt able to get that to work. I read about another package ifplugd
that supposedly does that(available in the unstable distribution--i
have the stable version installed currently)
, i have'nt tried that out yet but i was
wondering if there is another way to do it

 > 
 > Second: What bandwidth do you have? Just to make sure you have a
 > connection allowing you to download all the nice things we propose to
 > you - before Xmas next year ;-)

The bandwidth is quite good(especially at school)
so i don't see a problem downloading stuff--chances are it
should be done well before
Xmas this year, not next;-) 

Also, lets say i add the following lines to my /etc/apt/sources.list,
can then just use

> >  > 
 > >  >  XFree 4.3 backport
 > >  >  this should work as of today (2003-10-22), delivers 4.3.0
 > >  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
 > >  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
 > >  > # this time the server kicks me on connect.
 > >  >  TRY OUT by uncommenting below two lines
 > >  > #deb ftp://linux.upsa.es/pub/RC2/ ./
 > >  > #deb ftp://linux.upsa.es/pub/OO.O/ ./
 > >  > 
 > >  >  Gnome 2.2 backport to woody, including evolution 1.4.5
 > >  > deb
 > >  > 
 > > http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
 > >  gnome2.2/
 > >  > deb-src
 > >  > 
 > > http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
 > >  gnome2.2/
 > >  > 
 > >  > # MPlayer 
 > >  >  deb http://marillat.free.fr stable main
 > >  > 
 > >  > # Mozilla 1.4
 > >  >  deb http://debian.relativ.org/ ./
 > >  > 
 > >  >  official sources
 > >  > # deb-src http://ftp.debian.org/debian stable main contrib non-free
 > >  > # deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main
 > >  > contrib non-free
 > >  > 
 > >  > # EOF
 > >  > --- snap ---


apt-get update

to install Xfree86 4.3/gnome2.2 etc or do i have to use

apt-get install XFree86

 
Thanks,
Aswin



Re: No X on new install

2003-10-23 Thread David Z Maze
Douglas Frank <[EMAIL PROTECTED]> writes:

> Now that the machine's booted, I can find the various X11 directories,
> and they're mostly populated, but one thing I have not found is the X
> server itself.  Where's the executable?  What's its name?  I wonder if
> I missed a package...?

Normally, you'd have a /usr/X11R6/bin/XFree86, with /etc/X11/X linking
to that.  This is provided in the xserver-xfree86 package.

-- 
David Maze [EMAIL PROTECTED]  http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
-- Abra Mitchell



Re: No X on new install

2003-10-23 Thread Douglas Frank
Ah, poking around debian.org, I see that tasksel *should* have presented 
an X package right at the top of the screen. It didn't.  I'll try a 
reinstall with the full floppy set.

--
Douglas Frank  DigitalWhoopsCompaqImeanHP Co.
ZKO110 Spit Brook Rd.   These are my principles;
603-884-0501   Nashua, NH USA 03062  if you object... I have others.




Re: gdm fails

2003-10-23 Thread Lars Weissflog
Hi Aswin

On Thu, 2003-10-23 at 18:55, Aswin Venkat wrote:

> Actually this is part of the problem. At home i have a connection via
> a modem to the internet(through a gateway). 

Do you mean you have a 
a) modem connected to the Laptop or 
b) a modem connected to a gateway which the Laptop connects to?

> At school however, the
> connection goes via a LAN and router.

> I was able to get the network running from home. I installed the package
> laptop-net that uses debconf to guide the installation and it
> worked. However, i am not sure how to handle two sets of networks--is
> there a way the laptop can detect which network its on and get on it
> or do i need two sets of /etc/interfaces/network files?
> 
Read the documentation of laptop-net, its all in there. 

file:///usr/share/doc/laptop-net/laptop-net.pdf

Don't get me wrong on this: I could walk you through what I did for my
laptop, taking approximately a dozen mails in both directions. Reading
those, you will feel better if you read the docu first, then try it
yourself and use google to advance. If you want to use linux, you'll
have to spend a lot of time reading docu, man, info, on the web. 
Lists like this one are there to help you _after_ you have tried a lot
on your own. There are Howtos out there on nearly everything.

> 
> Essentially i want to have a /etc/interfaces/network file that does
> something like
> 
> if @home then eth0 uses first network
> else
> [EMAIL PROTECTED] then eth0 uses the school network
> else
> eth0 uses available network(or atleast tries to)
> 
laptop-net _can_ do so, but as far as I remember only for Networks where
it can sniff the traffic when physically connecting to it; for a Modem
connection you will have to tell laptop-net the scheme it shall use. On
the other hand, when you do an 'if-up ppp0' (or whatever your modem
device is), if-up sets everything so that the network 'knows' that
traffic will go out there and not use the LAN connection (which is eth0
and will be down if no cable is connected).
Okay, this gets complicated. Read Network-Howto, Modem-Howto and what
ever the point you at to understand what networking is about and how you
can influence it. If you understand it, you'll not need pre-build
scripts since you could do it by hand with only a few commands. 

To start with, read the laptop-net manual.

> I installed the whereami package which i thought should do that but i
> was'nt able to get that to work. I read about another package ifplugd
> that supposedly does that(available in the unstable distribution--i
> have the stable version installed currently)

STAY with that version! All you have requested so far (except for the
Xfree-Stuff) are working pretty well in stable. Networking is _basic_
stuff and _stable_. Please don't try to get more problems at a time than
one.

> , i have'nt tried that out yet but i was
> wondering if there is another way to do it
> 

laptop-net docu, see above; 

networking-Howtos, 
http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETDIALUP

modem-Howtos
http://www.tldp.org/HOWTO/HOWTO-INDEX/hardware.html

www.tldp.org in general.
[...]

>  >
> Also, lets say i add the following lines to my /etc/apt/sources.list,
> can then just use
> 
> > >  > 
>  > >  >  XFree 4.3 backport
>  > >  >  this should work as of today (2003-10-22), delivers 4.3.0
>  > >  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
>  > >  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
>  > >  > 
[...]
> 
> 
> apt-get update
> 
> to install Xfree86 4.3/gnome2.2 etc or do i have to use
> apt-get install XFree86
> 
First, you'll defenitely run into dependency warnings if not problems.
Replacing XFree 4.0 with 4.3 and Gnome 1.4 with 2.2 will replace at
least half of your system. So expect it to take some time (i.e. 2 or
more hours even with a good network connection) only for the
installation itself. But configuring the update may take even longer for
_you_.

Second, to upgrade XFree, put those lines in your sources.list, then run

apt-get update

and afterwards do a

apt-cache policy xserver-xfree86

This will tell you what version is installed and what the candidate for
an upgrade would be and where apt would get that new one from.

If that all goes well, post the result of the last step here and we'll
see if we can get you further.

'till then...
Lars
>  
> Thanks,
> Aswin
-- 
LarsWeissflog
[EMAIL PROTECTED] dot DE




detecting which eth0 config [was Re: gdm fails]

2003-10-23 Thread Tony Godshall
I used whereami (worked) and then guessnet (worked better)
and now a little script that's still a little rough.

Basically it outputs "work" or "home" or "site" based on
  ifconfig eth0 up # bring up eth0 without ip
  if arping   | grep -q ; then echo work
  elif arping   | grep -q ; then echo home
  ...
  ifconfig eth0 down # take ifconfig back down so ifup can doit 'right' for 
this net

I use the form of arping that's mac-only, but I don't
remember the opts for that right now.

Anyho, your script can then be put into the 'script' line
of your eth0 stanza (read man interfaces to find out about
the script line).

If you still need help tomorrow, let me know and I'll get
the full config off my laptop.

Tony

According to Aswin Venkat,
> 
> 
> Hi all-
> 
>  > > 
>  > Well, this is not that easy. We need to know a lot about your "network".
>  > 
>  > First: Direct connection to the Internet from your machine (i.e. Modem -
>  > what ever type - in/connected to your machine) or connection via a LAN
>  > and a router?
> 
> Actually this is part of the problem. At home i have a connection via
> a modem to the internet(through a gateway). At school however, the
> connection goes via a LAN and router.
> 
> I was able to get the network running from home. I installed the package
> laptop-net that uses debconf to guide the installation and it
> worked. However, i am not sure how to handle two sets of networks--is
> there a way the laptop can detect which network its on and get on it
> or do i need two sets of /etc/interfaces/network files?
> 
> 
> Essentially i want to have a /etc/interfaces/network file that does
> something like
> 
> if @home then eth0 uses first network
> else
> [EMAIL PROTECTED] then eth0 uses the school network
> else
> eth0 uses available network(or atleast tries to)
> 
> I installed the whereami package which i thought should do that but i
> was'nt able to get that to work. I read about another package ifplugd
> that supposedly does that(available in the unstable distribution--i
> have the stable version installed currently)
> , i have'nt tried that out yet but i was
> wondering if there is another way to do it
> 
>  > 
>  > Second: What bandwidth do you have? Just to make sure you have a
>  > connection allowing you to download all the nice things we propose to
>  > you - before Xmas next year ;-)
> 
> The bandwidth is quite good(especially at school)
> so i don't see a problem downloading stuff--chances are it
> should be done well before
> Xmas this year, not next;-) 
> 
> Also, lets say i add the following lines to my /etc/apt/sources.list,
> can then just use
> 
> > >  > 
>  > >  >  XFree 4.3 backport
>  > >  >  this should work as of today (2003-10-22), delivers 4.3.0
>  > >  > deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./
>  > >  >  I got my XFree 4.3 from the  ximian-desktop 2 project, but at 
>  > >  > # this time the server kicks me on connect.
>  > >  >  TRY OUT by uncommenting below two lines
>  > >  > #deb ftp://linux.upsa.es/pub/RC2/ ./
>  > >  > #deb ftp://linux.upsa.es/pub/OO.O/ ./
>  > >  > 
>  > >  >  Gnome 2.2 backport to woody, including evolution 1.4.5
>  > >  > deb
>  > >  > 
> http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
>  gnome2.2/
>  > >  > deb-src
>  > >  > 
> http://ftp.acc.umu.se/mirror/mirrors.evilgeniuses.org.uk/debian/backports/woody
>  gnome2.2/
>  > >  > 
>  > >  > # MPlayer 
>  > >  >  deb http://marillat.free.fr stable main
>  > >  > 
>  > >  > # Mozilla 1.4
>  > >  >  deb http://debian.relativ.org/ ./
>  > >  > 
>  > >  >  official sources
>  > >  > # deb-src http://ftp.debian.org/debian stable main contrib non-free
>  > >  > # deb-src http://ftp.de.debian.org/debian-non-US stable/non-US main
>  > >  > contrib non-free
>  > >  > 
>  > >  > # EOF
>  > >  > --- snap ---
> 
> 
> apt-get update
> 
> to install Xfree86 4.3/gnome2.2 etc or do i have to use
> 
> apt-get install XFree86
> 
>  
> Thanks,
> Aswin
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No X on new install

2003-10-23 Thread Tony Godshall
> Now that the machine's booted, I can find the various X11 directories,
> and they're mostly populated, but one thing I have not found is the X
> server itself.  Where's the executable?  What's its name?  I wonder if
> I missed a package...?

sh-2.05b$ which X
/usr/bin/X11/X

If it won't start, to see what's wrong:
  X -probeonly



Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Joe Emenaker
I'm trying the Debian-packaged 2.6-test7 kernel and it's working great 
except for the sound.


When the module loader tries to load any of the sound modules, I'm 
getting a lot of "Unknown symbol" messages. For example, when I try the 
driver for my Intel 810 sound chip, I get:


joeslap:~# modprobe snd-intel8x0
WARNING: Error inserting snd 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_seq_device 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/seq/snd-seq-device.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_rawmidi 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd-rawmidi.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_mpu401_uart 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd-timer.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/core/snd-pcm.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/pci/ac97/snd-ac97-codec.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_intel8x0 
(/lib/modules/2.6.0-test7-1-386/kernel/sound/pci/snd-intel8x0.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)



That's when I try to load it from the command line. When the system 
tries to load it at boot time, I get this:


snd_intel8x0: Unknown symbol snd_ac97_resume
snd_intel8x0: Unknown symbol snd_pcm_new
snd_intel8x0: Unknown symbol snd_card_register
snd_intel8x0: Unknown symbol snd_card_free
snd_intel8x0: Unknown symbol snd_card_proc_new
snd_intel8x0: Unknown symbol snd_ac97_set_rate
snd_intel8x0: Unknown symbol snd_ac97_update_bits
snd_intel8x0: Unknown symbol snd_ac97_mixer
snd_intel8x0: Unknown symbol snd_card_new
snd_intel8x0: Unknown symbol snd_iprintf
snd_intel8x0: Unknown symbol snd_pcm_lib_malloc_pages
snd_intel8x0: Unknown symbol snd_pcm_lib_ioctl
snd_intel8x0: Unknown symbol snd_pcm_lib_free_pages
snd_intel8x0: Unknown symbol snd_kcalloc
snd_intel8x0: Unknown symbol snd_pcm_set_ops
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_list
snd_intel8x0: Unknown symbol snd_device_new
snd_intel8x0: Unknown symbol snd_pcm_suspend_all
snd_intel8x0: Unknown symbol snd_pcm_hw_constraint_integer
snd_intel8x0: Unknown symbol snd_pcm_lib_preallocate_pci_pages_for_all
snd_intel8x0: Unknown symbol snd_mpu401_uart_new
snd_intel8x0: Unknown symbol snd_pcm_period_elapsed
snd_intel8x0: Unknown symbol snd_ac97_tune_hardware

and this is the relevant portion of my /etc/modules.conf file:

alias char-major-116 snd
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-usb-audio
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=2 device_gid=29 device_mode=0660
options snd-intel8x0 index=0
options snd-usb-audio index=1

- Joe




Re: Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Rob Bos
On Thu, Oct 23, 2003 at 02:37:10PM -0700, Joe Emenaker wrote:
> I'm trying the Debian-packaged 2.6-test7 kernel and it's working great 
> except for the sound.

You probably need to install module-init-tools: 2.6 uses a different
module architecture than was used in previous iterations.

-- 
Rob Bos, [EMAIL PROTECTED],constainia.net}, world enough and time

"Happy the man, and happy he alone,
 He who can call today his own:
 He who, secure within, can say,
 Tomorrow do thy worst, for I have lived today."
-- Horace


pgpJypXwFqYhx.pgp
Description: PGP signature


Dualhead on laptop

2003-10-23 Thread Nicolas
Anyone get an exernal monitor working as a second screen (not twinview) with 
geforce2go (or what ever card you have)?  I tried as in the nVidia doc, but 
without success.  If I don't specify "screen 0" or "screen 1" in the Device 
section, the second monitor don't receive signal.  If I specify it, the 
laptop freeze :o(  If you need my XF86Config file, just let me know.

Thanks,

Nicolas
-- 
If God had a beard, he'd be a UNIX programmer.



Re: Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Joe Emenaker

Rob Bos wrote:


On Thu, Oct 23, 2003 at 02:37:10PM -0700, Joe Emenaker wrote:
 

I'm trying the Debian-packaged 2.6-test7 kernel and it's working great 
except for the sound.
   



You probably need to install module-init-tools: 2.6 uses a different
module architecture than was used in previous iterations.
 


Actually, I already had module-init-tools loaded.

I think the problem was the "device_gid=29" in the options line for the 
snd module:


  options snd major=116 cards_limit=2 device_gid=29 device_mode=0660

I took the device_gid=29 and re-ran update-modules and "depmod -a" and 
now it all loads okay. I'm not getting any sound yet... but I'm further 
along than I was.


- Joe






Re: Sound in kernel 2.6: Lots of "Unknown Symbol" errors

2003-10-23 Thread Dave Carrigan
On Thu, Oct 23, 2003 at 06:58:48PM -0700, Joe Emenaker wrote:
> I took the device_gid=29 and re-ran update-modules and "depmod -a" and 
> now it all loads okay. I'm not getting any sound yet... but I'm further 
> along than I was.

Now all that's left is to run alsamixer and restore the sound
levels. They start out all at 0.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to Sex Pistols - New York (Never Mind The 
Bollocks...)


signature.asc
Description: Digital signature


Re: No X on new install

2003-10-23 Thread Tony Godshall
According to Douglas Frank,
> Ah, poking around debian.org, I see that tasksel *should* have presented 
> an X package right at the top of the screen. It didn't.  I'll try a 
> reinstall with the full floppy set.

or just apt-get update&&apt-get x-window-system