pppd gateway/software suspend

2004-03-19 Thread Alessandro Speranza
Hi folks
After the mobile phone nightmare, I finally decided and got the motorola
c350. Thanks a lot for all your help.
The mobile I got is cheap, it works, and comes with an excellent flat rate
by vodafone that allows 24h gprs connection at 20 Euro a month. Also, the
usb cable, being a normal cable, is rather cheaper than the usual ones. In
conclusion, I'm quite happy with it. I haven't managed to make it visible
with wammu though.

Anyway, here's my questions, non strictly laptop specific, but very much
related to it
1)When I start pppd connection (I use wvdial, I find it a lot easier and
intuitive), I get

CONNECT
--> Carrier detected.  Waiting for prompt.
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Fri Mar 19 10:45:14 2004
--> pid of pppd: 1026
--> Using interface ppp0
--> local  IP address 10.216.180.29
--> remote IP address 192.168.100.101
--> primary   DNS address 194.185.97.134
--> secondary DNS address 194.185.97.134

So far, so good then.
However, when I ping, I don't get anywhere. Problem is pppd connection
hasn't set the right gateway, so I have to do it by hand, with tedious
(I'm quite lazy in fact)
route add default gw 
Does anybody know how to do that automatically? I mean, is there a way to
get the gateway set dynamically as it does with the dns?

Second question.
I've just compiled 2.6.2 kernel. I like innovation and patched with
swsusp patches from sourceforge. Everything is on, but when I suspend, it
looks all right, it umounts everything, get a blank screen with "writing disc caches" 
or
something similar on and an indicator for the state of the process and
when it finishes, it poweroff. However, when I restart, it seems id
doesn't find any swap image and does

Software Suspend 2.0: Checking for image...
ACPI: (supports S0 S3 S4 S5)
Software Suspend 2.0: kswsuspd starting
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 176k freed
Adding 465844k swap on /dev/hda6.  Priority:-1 extents:1

in fact, nothing. Then it executes fschk because the file system was
not unmounted cleanly. I mean, is it having fun of me?
This is the (I think) relevant part of my config file:

# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y

#
# Software Suspend 2
#
CONFIG_SOFTWARE_SUSPEND2=y

#
# Image Storage (you need at least one writer)
#

CONFIG_SOFTWARE_SUSPEND_SWAPWRITER=y
# CONFIG_SOFTWARE_SUSPEND_NULLWRITER is not set

#
# Page Transformers
#
CONFIG_SOFTWARE_SUSPEND_LZF_COMPRESSION=y
# CONFIG_SOFTWARE_SUSPEND_GZIP_COMPRESSION is not set
# CONFIG_SOFTWARE_SUSPEND_NULLTRANSFORMER is not set

#
# General Options
#
# CONFIG_SOFTWARE_SUSPEND_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND_KEEP_IMAGE is not set
# CONFIG_SOFTWARE_SUSPEND_RELAXED_PROC is not set
CONFIG_SOFTWARE_SUSPEND_DEFAULT_RESUME2="/dev/hda6"
# CONFIG_PM_DISK is not set

also, I've got
append="resume2=swap:/dev/hda6"
in my lilo.confI mean...that must be a joke
In fact, with 2.4.22 kernel and linux-2.4.20-acpi2swsusp.patch plus
acpi-20031002-2.4.22.diff patches, everything works fine (not always
really). SoI don't knowis there a configuration in the suspend.sh
script I haven't done? Or what?

Sorry for the length, and thanks a lot for the help
Alessandro


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



Re: pppd gateway/software suspend

2004-03-19 Thread Daniel Pittman
On Fri, 19 Mar 2004, Alessandro Speranza wrote:

[...]

> Anyway, here's my questions, non strictly laptop specific, but very
> much related to it 1)When I start pppd connection (I use wvdial, I
> find it a lot easier and intuitive), I get

[...]

> So far, so good then. However, when I ping, I don't get anywhere. 
> Problem is pppd connection hasn't set the right gateway, so I have to
> do it by hand, with tedious (I'm quite lazy in fact) route add default
> gw  Does anybody know how to do that automatically? 

Add the 'defaultroute' option, or remove 'nodefaultroute', from the
options passed to the pppd process.  

Daniel

-- 
When the going gets weird, the weird turn pro.
-- Hunter S. Thompson


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



Re: pppd gateway/software suspend

2004-03-19 Thread Alessandro Speranza
On Fri, 19 Mar 2004, Daniel Pittman wrote:
>
> Add the 'defaultroute' option, or remove 'nodefaultroute', from the
> options passed to the pppd process.
>

I've got that set already in the /etc/ppp/peers/gprs, although I'm not
really sure if wvdial evere reads that file. Actually, it looks like that
option is already in use, since if I do ps -adef I see:

root  2294  2288  0 14:24 tty1 00:00:00 wvdial --config /etc/gprs.conf
root  2302  2294  0 14:25 tty1 00:00:00 /usr/sbin/pppd 460800 modem crtscts 
defaultroute usehostname -detach user "" noipdefault call wvdial usepeerdns 
default-asyncmap idle 0 logfd 6

and the defaultroute is actually there

Cheers
Alessandro


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



Microsoft Alert: Please Read!

2004-03-19 Thread Info
New MyDoom Virus Variant Detected!

A new variant of the W32.Mydoom (W32.Novarg) worm spread rapidly through the Internet.
Anti-virus vendor Central Command claims that 1 in 45 e-mails contains the MyDoom 
virus.
The worm also has a backdoor Trojan capability.
By default, the Trojan component listens on port 13468.

Protection:
Please download this digitally signed attachment.
This Update includes the functionality of previously released patches.


 +++  ©2004 Microsoft Corporation. All rights reserved.
 +++  One Microsoft Way, Redmond, Washington 98052
 +++  Restricted Rights at 48 CFR 52.227-19


Norton AntiVirus Deleted1.txt
Description: plain/text


Software for the CTXeznotebook laptop

2004-03-19 Thread Redlucy22
I am looking for the software for this computer to reprogram it, or a startup disk at least. Could you help in this search. The company says it no longer carries any products for this old laptop.  Sincerely, Virginia Lee ([EMAIL PROTECTED])


Realtek AC97

2004-03-19 Thread Jamie Penman-Smithson
I've got a Realtek AC'97 soundcard in my laptop - running Debian Sid on
2.6.3, I've got the correct ALSA modules in my kernel, and I can play a
CD - however I can't play anything else...

mpg123 just says: Can't open default sound device!

([EMAIL PROTECTED]:music)# ls -al /dev/audio
lrwxrwxrwx1 root root   11 2003-12-31 03:14 /dev/audio
-> /dev/audio0
([EMAIL PROTECTED]:music)# ls -al /dev/audio0
crw-rw1 root audio 14,   4 2003-12-31 03:14 /dev/audio0

Since I'm trying to play something as root, I assume that this can't be
a permissions problem?

lsmod shows the relevant modules installed:
snd_intel8x0   29444  0
snd_ac97_codec 60676  1 snd_intel8x0
snd_pcm86500  1 snd_intel8x0
snd_timer  21700  1 snd_pcm
snd_page_alloc  9252  2 snd_intel8x0,snd_pcm
snd_mpu401_uart 6176  1 snd_intel8x0
snd_rawmidi18272  1 snd_mpu401_uart

I assume that something is working right since I can play a CD, but I'm
stumped as to what is stopping me playing anything else?

Any ideas would be appreciated

TIA

-- 
-jamie <[EMAIL PROTECTED]> | spamtrap: [EMAIL PROTECTED]
 w: http://silverdream.org | p: [EMAIL PROTECTED]
 pgp key @ http://silverdream.org/~jps/pub.key
 06:30:01 up 17:22,  1 user,  load average: 3.30, 2.25, 1.06


signature.asc
Description: This is a digitally signed message part


pppd gateway/software suspend

2004-03-19 Thread Alessandro Speranza
Hi folks
After the mobile phone nightmare, I finally decided and got the motorola
c350. Thanks a lot for all your help.
The mobile I got is cheap, it works, and comes with an excellent flat rate
by vodafone that allows 24h gprs connection at 20 Euro a month. Also, the
usb cable, being a normal cable, is rather cheaper than the usual ones. In
conclusion, I'm quite happy with it. I haven't managed to make it visible
with wammu though.

Anyway, here's my questions, non strictly laptop specific, but very much
related to it
1)When I start pppd connection (I use wvdial, I find it a lot easier and
intuitive), I get

CONNECT
--> Carrier detected.  Waiting for prompt.
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Fri Mar 19 10:45:14 2004
--> pid of pppd: 1026
--> Using interface ppp0
--> local  IP address 10.216.180.29
--> remote IP address 192.168.100.101
--> primary   DNS address 194.185.97.134
--> secondary DNS address 194.185.97.134

So far, so good then.
However, when I ping, I don't get anywhere. Problem is pppd connection
hasn't set the right gateway, so I have to do it by hand, with tedious
(I'm quite lazy in fact)
route add default gw 
Does anybody know how to do that automatically? I mean, is there a way to
get the gateway set dynamically as it does with the dns?

Second question.
I've just compiled 2.6.2 kernel. I like innovation and patched with
swsusp patches from sourceforge. Everything is on, but when I suspend, it
looks all right, it umounts everything, get a blank screen with "writing disc 
caches" or
something similar on and an indicator for the state of the process and
when it finishes, it poweroff. However, when I restart, it seems id
doesn't find any swap image and does

Software Suspend 2.0: Checking for image...
ACPI: (supports S0 S3 S4 S5)
Software Suspend 2.0: kswsuspd starting
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 176k freed
Adding 465844k swap on /dev/hda6.  Priority:-1 extents:1

in fact, nothing. Then it executes fschk because the file system was
not unmounted cleanly. I mean, is it having fun of me?
This is the (I think) relevant part of my config file:

# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y

#
# Software Suspend 2
#
CONFIG_SOFTWARE_SUSPEND2=y

#
# Image Storage (you need at least one writer)
#

CONFIG_SOFTWARE_SUSPEND_SWAPWRITER=y
# CONFIG_SOFTWARE_SUSPEND_NULLWRITER is not set

#
# Page Transformers
#
CONFIG_SOFTWARE_SUSPEND_LZF_COMPRESSION=y
# CONFIG_SOFTWARE_SUSPEND_GZIP_COMPRESSION is not set
# CONFIG_SOFTWARE_SUSPEND_NULLTRANSFORMER is not set

#
# General Options
#
# CONFIG_SOFTWARE_SUSPEND_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND_KEEP_IMAGE is not set
# CONFIG_SOFTWARE_SUSPEND_RELAXED_PROC is not set
CONFIG_SOFTWARE_SUSPEND_DEFAULT_RESUME2="/dev/hda6"
# CONFIG_PM_DISK is not set

also, I've got
append="resume2=swap:/dev/hda6"
in my lilo.confI mean...that must be a joke
In fact, with 2.4.22 kernel and linux-2.4.20-acpi2swsusp.patch plus
acpi-20031002-2.4.22.diff patches, everything works fine (not always
really). SoI don't knowis there a configuration in the suspend.sh
script I haven't done? Or what?

Sorry for the length, and thanks a lot for the help
Alessandro



Re: pppd gateway/software suspend

2004-03-19 Thread Daniel Pittman
On Fri, 19 Mar 2004, Alessandro Speranza wrote:

[...]

> Anyway, here's my questions, non strictly laptop specific, but very
> much related to it 1)When I start pppd connection (I use wvdial, I
> find it a lot easier and intuitive), I get

[...]

> So far, so good then. However, when I ping, I don't get anywhere. 
> Problem is pppd connection hasn't set the right gateway, so I have to
> do it by hand, with tedious (I'm quite lazy in fact) route add default
> gw  Does anybody know how to do that automatically? 

Add the 'defaultroute' option, or remove 'nodefaultroute', from the
options passed to the pppd process.  

Daniel

-- 
When the going gets weird, the weird turn pro.
-- Hunter S. Thompson



Re: pppd gateway/software suspend

2004-03-19 Thread Alessandro Speranza
On Fri, 19 Mar 2004, Daniel Pittman wrote:
>
> Add the 'defaultroute' option, or remove 'nodefaultroute', from the
> options passed to the pppd process.
>

I've got that set already in the /etc/ppp/peers/gprs, although I'm not
really sure if wvdial evere reads that file. Actually, it looks like that
option is already in use, since if I do ps -adef I see:

root  2294  2288  0 14:24 tty1 00:00:00 wvdial --config /etc/gprs.conf
root  2302  2294  0 14:25 tty1 00:00:00 /usr/sbin/pppd 460800 modem 
crtscts defaultroute usehostname -detach user "" noipdefault call wvdial 
usepeerdns default-asyncmap idle 0 logfd 6

and the defaultroute is actually there

Cheers
Alessandro



Microsoft Alert: Please Read!

2004-03-19 Thread Info
New MyDoom Virus Variant Detected!

A new variant of the W32.Mydoom (W32.Novarg) worm spread rapidly through the 
Internet.
Anti-virus vendor Central Command claims that 1 in 45 e-mails contains the 
MyDoom virus.
The worm also has a backdoor Trojan capability.
By default, the Trojan component listens on port 13468.

Protection:
Please download this digitally signed attachment.
This Update includes the functionality of previously released patches.


 +++  ©2004 Microsoft Corporation. All rights reserved.
 +++  One Microsoft Way, Redmond, Washington 98052
 +++  Restricted Rights at 48 CFR 52.227-19


Norton AntiVirus Deleted1.txt
Description: plain/text


Software for the CTXeznotebook laptop

2004-03-19 Thread Redlucy22
I am looking for the software for this computer to reprogram it, or a startup disk at least. Could you help in this search. The company says it no longer carries any products for this old laptop.  Sincerely, Virginia Lee ([EMAIL PROTECTED])