[SLUG] ADSL Problem

2002-12-24 Thread Martin Richards
Merry Xmas all...

I'm stuck trying to get ADSL working under Debian 3.0. pppoe conf runs and
seems very happy. It tells me it's found an access concentrator, and all is
well, but when it goes to start the link I get the error message:

 ppp0: error fetching interface information: Device not found

This seems bizzarre... how can it find an access concentrator if it can't
find the device???

I'm pretty stumped... /var/log/messages says:

 Dec 24 08:12:39 denial pppd[189]: Serial connection established.
 Dec 24 08:12:39 denial pppd[189]: Using interface ppp0
 Dec 24 08:12:39 denial pppd[189]: Connect: ppp0 <--> /dev/pts/0
 Dec 24 08:12:40 denial pppd[189]: Modem hangup
 Dec 24 08:12:40 denial pppd[189]: Connection terminated.

over and over. /var/log/daemon says:

 Dec 24 08:12:39 denial pppoe[286]: PADS: Service-Name: ''
 Dec 24 08:12:39 denial pppoe[286]: PPP session is 3133
 Dec 24 08:12:40 denial pppoe[286]: Session terminated -- received PADT from
peer

over and over, until the point when I hit ctrl-c, when it says

 Dec 24 08:14:31 denial modprobe: modprobe: Can't locate module ppp0

Anyone have any ideas what might be wrong or how I might approach fixing it?

I like Debian, but it seems like the initial installation and setup process,
always its weakest point, has gotten even worse? It cluttered my system with
stuff I never asked for (ISDN, etc), and so far lilo, X and ADSL have all
failed to work. I'd switch distros if I could give up on apt.

cheers and thanks in advance,

Martin

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] ADSL Problem

2002-12-24 Thread Kevin Saenz
Martin,

do you have a Ethernet adsl modem/router? had to experiment with my
connection, even though my ISP told windows users they have to use
PPPOE, I found in my case this was not true. I had to install DHCPCD
activate the Ethernet port then connect to my modem then connect to
the ISP. Also this depends on the type of account you have. ie: dynamic
IP address.

Hope I have helped



> Merry Xmas all...
> 
> I'm stuck trying to get ADSL working under Debian 3.0. pppoe conf runs and
> seems very happy. It tells me it's found an access concentrator, and all is
> well, but when it goes to start the link I get the error message:
> 
>  ppp0: error fetching interface information: Device not found
> 
> This seems bizzarre... how can it find an access concentrator if it can't
> find the device???
> 
> I'm pretty stumped... /var/log/messages says:
> 
>  Dec 24 08:12:39 denial pppd[189]: Serial connection established.
>  Dec 24 08:12:39 denial pppd[189]: Using interface ppp0
>  Dec 24 08:12:39 denial pppd[189]: Connect: ppp0 <--> /dev/pts/0
>  Dec 24 08:12:40 denial pppd[189]: Modem hangup
>  Dec 24 08:12:40 denial pppd[189]: Connection terminated.
> 
> over and over. /var/log/daemon says:
> 
>  Dec 24 08:12:39 denial pppoe[286]: PADS: Service-Name: ''
>  Dec 24 08:12:39 denial pppoe[286]: PPP session is 3133
>  Dec 24 08:12:40 denial pppoe[286]: Session terminated -- received PADT from
> peer
> 
> over and over, until the point when I hit ctrl-c, when it says
> 
>  Dec 24 08:14:31 denial modprobe: modprobe: Can't locate module ppp0
> 
> Anyone have any ideas what might be wrong or how I might approach fixing it?
> 
> I like Debian, but it seems like the initial installation and setup process,
> always its weakest point, has gotten even worse? It cluttered my system with
> stuff I never asked for (ISDN, etc), and so far lilo, X and ADSL have all
> failed to work. I'd switch distros if I could give up on apt.
> 
> cheers and thanks in advance,
> 
> Martin
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] ADSL Problem

2002-12-24 Thread Marty Richards
Hi Martin,

Is PPP compiled into your kernel or is it a module? Try compiling with ppp
as a module if you haven't already...

PADT is a common result of bad username/password, or occasionally on new
connections when Tel$tra hooks you up to the wrong ADSL provider... You
don't get PADT unless you're connected to a DSLAM, so PADT is normally a
good sign on new connections.

Merry Xmas ;)

Cheers,
Marty

> -Original Message-
> From: Martin Richards [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 25, 2002 8:44 AM
> To: SLUG
> Subject: [SLUG] ADSL Problem
> 
> 
> Merry Xmas all...
> 
> I'm stuck trying to get ADSL working under Debian 3.0. pppoe 
> conf runs and
> seems very happy. It tells me it's found an access 
> concentrator, and all is
> well, but when it goes to start the link I get the error message:
> 
>  ppp0: error fetching interface information: Device not found
> 
> This seems bizzarre... how can it find an access concentrator 
> if it can't
> find the device???
> 
> I'm pretty stumped... /var/log/messages says:
> 
>  Dec 24 08:12:39 denial pppd[189]: Serial connection established.
>  Dec 24 08:12:39 denial pppd[189]: Using interface ppp0
>  Dec 24 08:12:39 denial pppd[189]: Connect: ppp0 <--> /dev/pts/0
>  Dec 24 08:12:40 denial pppd[189]: Modem hangup
>  Dec 24 08:12:40 denial pppd[189]: Connection terminated.
> 
> over and over. /var/log/daemon says:
> 
>  Dec 24 08:12:39 denial pppoe[286]: PADS: Service-Name: ''
>  Dec 24 08:12:39 denial pppoe[286]: PPP session is 3133
>  Dec 24 08:12:40 denial pppoe[286]: Session terminated -- 
> received PADT from
> peer
> 
> over and over, until the point when I hit ctrl-c, when it says
> 
>  Dec 24 08:14:31 denial modprobe: modprobe: Can't locate module ppp0
> 
> Anyone have any ideas what might be wrong or how I might 
> approach fixing it?
> 
> I like Debian, but it seems like the initial installation and 
> setup process,
> always its weakest point, has gotten even worse? It cluttered 
> my system with
> stuff I never asked for (ISDN, etc), and so far lilo, X and 
> ADSL have all
> failed to work. I'd switch distros if I could give up on apt.
> 
> cheers and thanks in advance,
> 
> Martin
> 
> -- 
> SLUG - Sydney Linux User's Group - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
> 


Netway Networks Pty Ltd 
(T) 8920 8877 
(F) 8920 8866 


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Need Help With LWP and newlines

2002-12-24 Thread Louis Selvon
Hi Sluggers:

I am using LWP module from Perl to automatically login into a member area.

I have hit a problem when posting to a form after I have logged in.

The purpose of the form is to send an email to all my members. My problem is
that the contents (body) of the email that is coming from:

  my server (client) -> server where forms resides

does now show the newlines, and returns. When I print out the contents I am
sending before posting to the form from my end, I can see that the email
message is formatted with the newlines, and returns as expected.

At the other end the email that went to the members cannot detect the
returns/newlines.

Any help on this is appreciated.

Louis.

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] RE: [Still] Configuring Woody for cable.

2002-12-24 Thread Adam Bogacki
Hmmm ... I received the message "invalid line 1 in /etc/resolv.conf",
i.e.

"domain
nameserver xxx.xx.xxx.x
   xxx.xx.xxx.xx"

but putting a hash (#) in front of line 1 changed nothing.

Looking at /etc/networks gave

"localnet 192.168.1.0
eth0_netmask 255.255.255.0"

- the first IP adress was unfamiliar so I changed it to my static IP
adress - but I still get the message "something wicked has happened ..."
when I try 'apt-get update' to all my sources.

When I reboot eth0 comes up, so something is happening correctly but
I'm stumped as to what is wrong. 

Running 'netconf --status' still gives the message that
"module pythonmod does not exist" and that
"? Service samba is not running" although I see it started at boot
and apparently started by linuxconf.

I don't wish to create any more problems for myself than already
exist so I'd welcome any advice people may wish to give.

Adam Bogacki

[EMAIL PROTECTED]
[EMAIL PROTECTED]  [forwarding]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Of Ken Foskey
Sent: Saturday, 7 December 2002 4:41 PM
To: slug
Subject: Re: [SLUG] Configuring Woody for cable.

On Fri, 2002-12-06 at 10:02, Adam Bogacki wrote:
> Hi Guys,
> 
> I've just installed cable on a dual-boot machine and the XP side of it
> is working but I can't even do an  'apt-get update' successfully, 
> getting the message that 'something wicked' has happened.
> 
> What do I do to configure Woody for cable?

something wicked is the error when the names are not resolving.
Not a very good error message :-(

Check that you dns lookup is working, if not check resolv.conf for
you dns settings.

KenF





-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] USB Camera - Easy?

2002-12-24 Thread Terry Collins
I'm looking for a heads up on USB Cameras under Linux now and how easy
are they?
RH7.3 specifically.

One of our local rags (newspapers) has just come out with a four sheet
"saleathon" for advertising post christmas sales. Strathfield car radio
has multiple pages (cheap Cds (35c+), etc) and includes two Digital
Camearas for $58 each. 

There is the StarCam, which is clearly shown as USB capable and the Agfa
digital camera[1]. Both are claimed to do 640x480 pixel. I'm not looking
for a digital camera, but more webcam type cameras, i.e. something I can
just connect up to the PC to capture images.

At $58, I think they are worth buying for a fiddle. 


[1] It doesn't look to be the same as the agfa mentioned at
http://www.mit.edu/~mkgray/ephoto/ or http://photopc.sourceforge.net.
Curiously, Agfa (http:www.agfa.com) says that they have decided to
discontinue their digital cameras at the end of 2001.
 
-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   Wombat Outdoor Adventures 

 "People without trees are like fish without clean water"
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Live! ALSA under Woody

2002-12-24 Thread Andrew Lau
On Tue, Dec 24, 2002 at 03:18:56PM +1100, Bruce Badger wrote:
> I asked a while ago what sound system people recommended for Woody,
> and answer seemed to be ALSA.  Well, I've not been able to get it
> going - this after spending much time reading FAQs and being on the
> Creative IRC channel. :-(

Dear Bruce,
ALSA in Debian is undergoing a major overhaul right now. /me
points at StevenK and ducks. So the installation for it isn't as
smooth as we'd like right now. Follow the below HOWTO and it should
work fine.

http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541&page=1

Yours sincerely,
Andrew "Netsnipe" Lau

-- 
---
* Andrew "Netsnipe" Lau  Computer Science & Student Rep, UNSW *
*   # apt-get into it Debian GNU/Linux Package Maintainer *
**
* GnuPG 1024D/2E8B68BD 0B77 73D0 4F3B F286 63F1  9F4A 9B24 C07D 2E8B 68BD *
---



msg29052/pgp0.pgp
Description: PGP signature


Re: [SLUG] Live! ALSA under Woody

2002-12-24 Thread Bruce Badger
Andrew Lau wrote:


...and the answer seemed to be ALSA ...


Dear Bruce,
	ALSA in Debian is undergoing a major overhaul right now. /me
points at StevenK and ducks. So the installation for it isn't as
smooth as we'd like right now. Follow the below HOWTO and it should
work fine.

http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541&page=1
 

Andrew,

Many thanks for the link.  I didn't get very far, I'm afraid :-(  I do 
have kernel 2.4.29-686 installed, which is a perfect fit with the 
instructions - I was optimistic.  However ...

wally:~# apt-get install alsa-modules-2.4.18-686
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package alsa-modules-2.4.18-686

Perhaps I need to modify my sources.list?  Currently, my sources.list is:

deb cdrom:[Debian GNU/Linux 3.0 r0 _Woody_ - Official i386 Binary-1 
(20020718)]/ unstable contrib main non-US/contrib non-US/main

deb ftp://ftp.iinet.com.au/linux/debian/debian stable main contrib non-free
deb http://security.debian.org/ stable/updates main

Thanks,
   Bruce

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] ask a programming_concept about C

2002-12-24 Thread henry



Dears :
 
 Maybe it's improper to ask the 
question not specific to Linux here. 
But there([EMAIL PROTECTED]) must be 
some skilled  C-programmers .
 
In my company,I write  firmware   
,
Un-avoidablely,there is a complicated Menu written in C(not 
C++) by another company.
(it's said that's why the product costs a good 
price)
    
There are lots of function as follows : 
 
Byte GetVariable(void)
{return Variable 
;} 
where Variable is a gloable 
variable .
 
My question is : 
  Why is the variable  encapulated like this(but not 
declared as globle) ? 
  The function explain it's usage .Is there other 
goods ?
  There are some globle variables hidden in 
drivers .Should I explicitly list them as  parameters of 

  drivers(functions) ?
 
Thanks in advance !
Henry