Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Sadly, none of the suggestions offered have worked, and after a day
discussing with Xtra, ( who continued with the party line)
my client simply changed isp's
end of issue.

I can't help but wonder how long it will take for xtra to wake up, or
how many customers they have to lose before they realise that many
people do not need/require or want broadband.

just my 70 year olds ramblings.

Thanks for all those who offered the knowledge and support

regards 
Chris Thomas
On Tue, 2009-02-24 at 22:06 +1300, Rik Tindall wrote:
> > chris wrote:
> >> it seems to be something in the exchange of username or password that
> >> xtra is not acknowledging under hardy 8.04, but is under xp pro
> >>
> >> The ppp log reports "looks like a keyword", and then crash. times out or
> >> terminates I am no completely sure which.
> >
> > From memory there is an error like this created by 'root' being owner of:
> >
> > r...@celeron2195-ubuntu804:~$ ls /etc/ppp/* -l
> > -rw--- 1 root root   101 2008-08-01 11:25 /etc/ppp/chap-secrets
> > -rwxr-xr-x 1 root root  1754 2007-10-05 08:57 /etc/ppp/ip-down
> > -rwxr-xr-x 1 root root  1892 2007-10-05 08:57 /etc/ppp/ip-up
> > -rwxr-xr-x 1 root root   784 2007-10-05 08:57 /etc/ppp/ipv6-down
> > -rwxr-xr-x 1 root root   922 2007-10-05 08:57 /etc/ppp/ipv6-up
> > -rw-r--r-- 1 root root 13486 2007-10-05 08:57 /etc/ppp/options
> > -rw--- 1 root root  1649 2008-08-01 11:25 /etc/ppp/pap-secrets
> > -rwxr-xr-x 1 root root   137 2007-10-05 08:57 /etc/ppp/pppoe_on_boot
> > -rw-r--r-- 1 root root48 2008-08-01 12:46 /etc/ppp/resolv.conf
> >
> > ..which 'user' needs write access to one/some of in order to complete 
> > the login.
> 
> Compared to old install (see "peers" difference), from which I used to 
> dialup:
> 
> r...@celeron2195-ubuntu804:/mnt/sda7/etc/ppp$ ls -l
> total 72
> -rw--- 1 root root   118 2008-03-30 15:08 chap-secrets
> 
> -rw-r--r-- 1 root root 13523 2008-05-14 08:35 options
> -rw--- 1 root root  1666 2008-03-30 15:08 pap-secrets
> drwxr-s--- 2 root dip   4096 2007-11-26 12:43 peers
> -rwxr-xr-x 1 root root   137 2007-10-05 08:57 pppoe_on_boot
> drwxr-xr-x 2 root root  4096 2007-06-22 16:55 resolv
> -rw-r--r-- 1 root root48 2008-05-29 17:41 resolv.conf
> 
> r...@celeron2195-ubuntu804:/mnt/sda7/etc/ppp/peers$ ls -l
> total 16
> -rw-r--r-- 1 root dip   109 2008-03-30 15:08 ppp0
> -rw-r- 1 root dip  1093 2007-10-16 12:28 provider
> -rw-r--r-- 1 root root   30 2007-06-15 01:51 wvdial
> -rw-r--r-- 1 root root   75 2007-06-15 01:51 wvdial-pipe



Happiness

2009-02-24 Thread Roy Britten
For reasons beyond my control a machine I occasionally use needed the
facility to send email. Having gone down the sendmail/exim path in the
past I was concerned about the work involved, but recalling
discussions on this list decided to try nullmailer first.

Two configuration items later (the first of which involves accepting
the default) and I have working mail.

Wanted to share a small success story.

Cheers,
Roy.


Re: Dynamically loadable library woes

2009-02-24 Thread Nick Rout
On Wed, Feb 25, 2009 at 9:17 AM, Stephen Irons  wrote:
> Nick Rout wrote:
>>
>> perhaps it would be easier to use the medibuntu repos. My ff,eg from
>> medibuntu boasts:
>>
>> --enable-amr_nb --enable-amr_wb
>>
>> would that do the trick?
>>
>
> Under Hardy, libav*-unstripped from medibuntu repository worked just fine.
>
> On the downgrade [1] to Intrepid, the version of ffmpeg in the medibuntu
> repository does not work with Intrepid: some other application (Totem?
> gstreamer?) insists on a newer version of one of the libav* packages.
> Medibuntu have not packaged the newer version for Intrepid. Instead there is
> a -unstripped version of ffmpeg etc. in Ubuntu multiverse but it does not
> have AMR enabled. I have raised a bug report
> https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/325593, so hopefully
> it will get fixed sometime...after all, I am most of the way there...


Actually the medibuntu version I was referring to is on an 8.04 mythtv
stystem now that I think about it.

N


Re: Dynamically loadable library woes

2009-02-24 Thread Stephen Irons

Nick Rout wrote:

On Tue, Feb 24, 2009 at 4:45 PM, Stephen Irons  wrote:
  

Christopher Sawtell wrote:


On Tuesday 24 February 2009 12:37:45 Stephen Irons wrote:
  

I have installed ffmpeg from the Ubuntu repositories.


man gcc


pay particular attention to the -L option flag.


and then if you are an obedient purist, alter the necessary configuration
files, generate a new .deb file and install form that.


Being an obedient purist is seriously recommended.


--
With Sincerity,
Christopher Sawtell
  

-L/usr/local/bin as an option to gcc did not change anything. I think that
option only affects static linking -- it tells the linker where to look for
libraries. Or perhaps where to find the stubs necessary to link a library
dynamically. But it did not affect the loading at run-time.

But I found two solutions:

1. ./configure --extra-ldflags=-Wl,-rpath/usr/local/bin stores that path in
the executable to tell the program loader to also search /usr/local/bin for
libraries.

2. ./configure --build-suffix=-ZZZ changes the names of the libraries to
lib-avcodec-ZZZ.so.66.whatever. These names are stored in the executable, so
they are found correctly.

man ld gives the full search order for *linking*:

  * -rpath-link options
  * -rpath options
  * LD_RUN_PATH environment variable
  * On *SunOS*, directories specified using -L -- this is what
Christopher Sawtell suggested, but does not work on Linux
  * LD_LIBRARY_PATH
  * DT_RUNPATH or DT_RPATH
  * default directories /lib and /usr/lib
  * directories in /etc/ld.so.conf

man ld.so gives a different order for *loading*:

  * LD_LIBRARY_PATH
  *  From the cache file /etc/ld.so.cache, created by ldconfig
  * /lib and /usr/lib

But this does not describe what I actually saw happening, so I prefer the
search order given in man ld. I think that the *linker* was finding the
necessary library stubs in /usr/lib, so it never bothered to look in
/usr/local/lib.

Anyway, my version of ffmpeg with AMR support is now working...so I can once
again convert videos from my phone to ... whatever ... they are still
rubbish.

I should probably make a .deb package so that I can install into /usr/bin
and /usr/lib so that other applications get the newer version of ffmpeg and
libav* ... but what will it break? Nothing, provided that the library
authors have got their version numbering correct.

Stephen Irons



perhaps it would be easier to use the medibuntu repos. My ff,eg from
medibuntu boasts:

--enable-amr_nb --enable-amr_wb

would that do the trick?
  

Under Hardy, libav*-unstripped from medibuntu repository worked just fine.

On the downgrade [1] to Intrepid, the version of ffmpeg in the medibuntu 
repository does not work with Intrepid: some other application (Totem? 
gstreamer?) insists on a newer version of one of the libav* packages. 
Medibuntu have not packaged the newer version for Intrepid. Instead 
there is a -unstripped version of ffmpeg etc. in Ubuntu multiverse but 
it does not have AMR enabled. I have raised a bug report 
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/325593, so 
hopefully it will get fixed sometime...after all, I am most of the way 
there...


Stephen Irons

[1] The Bluetooth functionality I used is broken. ffmpeg is broken. 
openmovieeditor is broken. The display sometimes goes blank when 
switching between users. Other things are different.


===
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
===



Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Hi Dave,
thanks for the sugestion.
This setting was changed as from Feisty, and noauth became the default.
regards Chris 

On Tue, 2009-02-24 at 22:42 +1300, dave wrote:
> Make sure you have noauth un marked.
> 
> eg 
> 
> config file
> 
> blah lines of it
> finally
> #noauth
> ^remove this and put one on the auth line (if memory serves me right auth is 
> set by default).
> 
> HTH
> 
> On Tuesday 24 February 2009 21:58:59 chris wrote:
> > Hi Steve
> > Attached is the ppp log output of the last attempt to connect to xtra.
> > This was 5 mins after a successful download of mail etc using the same
> > modem from the xp partition
> > regards Chris
> >
> > On Tue, 2009-02-24 at 16:42 +1300, Steve Holdoway wrote:
> > > That's an external one, isn't it?? So can you talk to it on /dev/ttyS0 or
> > > is it on ttyS1? ( try connecting to it with minicom, and typing ATZ -
> > > it'll answer OK if it is, then you'll be sure which device it's on ).
> > >
> > > Other options, like is it waiting for a dialtone ( maybe from the wrong
> > > country? ) before dialling, or can you connect to the clear account that
> > > you know the modem can connect to on other machines?? Hopefully that'll
> > > help to identify which bit is playing up...
> > >
> > > Steve
> > >
> > > On Tue, 24 Feb 2009 16:27:26 +1300
> > >
> > > chris  wrote:
> > > > Hi Steve,
> > > > Can we start again please?
> > > > the modem is a diamond 56e supra express pro.
> > > > I use it successfully on my other two machines where it connects
> > > > flawlessly to clear.
> > > > However on this machine it will not pass on to Xtra and times out after
> > > > 24 seconds.
> > > >
> > > > Attached is the output from lspic
> > > >
> > > > will be grateful for any help you can give
> > > > Regards Chris Thomas
> > > >
> > > > On Tue, 2009-02-24 at 15:41 +1300, Steve Holdoway wrote:
> > > > > On Tue, 24 Feb 2009 15:33:20 +1300
> > > > >
> > > > > chris  wrote:
> > > > > > Hi All
> > > > > > I can not connect from my hardy partition to xtra, using either
> > > > > > wvdial, or gnome pp.
> > > > > > This same machine will connect using the the same modem from the
> > > > > > windows partition.
> > > > > > Can anyone please offer any sugestions?
> > > > > >
> > > > > > Regards Chris Thomas
> > > > >
> > > > > Hi Chris,
> > > > >
> > > > > Knowing what the modem was ( sudo lspci should tell you ) will make
> > > > > support easier (:
> > > > >
> > > > > Cheers, Steve
> 
> 



Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Thanks for your efforts
Regards Chris
On Tue, 2009-02-24 at 22:28 +1300, Steve Holdoway wrote:
> On Tue, 24 Feb 2009 21:25:38 +1300
> chris  wrote:
> 
> > Hi Steve,
> > Yes it is on ttys0, and I can hear the modem negotiate the connection.
> > It then connects, and falls over at the exchange of user names and
> > password.
> It looks like you're well into problems with the the telecon infrastructure 
> setup. Unfortunately, I have no experience with this, being on ihug/voda so 
> can't really help.
> 
> Good luck,
> 
> Steve
> 



Re: Hardy 8.04 modem concerns

2009-02-24 Thread dave
Make sure you have noauth un marked.

eg 

config file

blah lines of it
finally
#noauth
^remove this and put one on the auth line (if memory serves me right auth is 
set by default).

HTH

On Tuesday 24 February 2009 21:58:59 chris wrote:
> Hi Steve
> Attached is the ppp log output of the last attempt to connect to xtra.
> This was 5 mins after a successful download of mail etc using the same
> modem from the xp partition
> regards Chris
>
> On Tue, 2009-02-24 at 16:42 +1300, Steve Holdoway wrote:
> > That's an external one, isn't it?? So can you talk to it on /dev/ttyS0 or
> > is it on ttyS1? ( try connecting to it with minicom, and typing ATZ -
> > it'll answer OK if it is, then you'll be sure which device it's on ).
> >
> > Other options, like is it waiting for a dialtone ( maybe from the wrong
> > country? ) before dialling, or can you connect to the clear account that
> > you know the modem can connect to on other machines?? Hopefully that'll
> > help to identify which bit is playing up...
> >
> > Steve
> >
> > On Tue, 24 Feb 2009 16:27:26 +1300
> >
> > chris  wrote:
> > > Hi Steve,
> > > Can we start again please?
> > > the modem is a diamond 56e supra express pro.
> > > I use it successfully on my other two machines where it connects
> > > flawlessly to clear.
> > > However on this machine it will not pass on to Xtra and times out after
> > > 24 seconds.
> > >
> > > Attached is the output from lspic
> > >
> > > will be grateful for any help you can give
> > > Regards Chris Thomas
> > >
> > > On Tue, 2009-02-24 at 15:41 +1300, Steve Holdoway wrote:
> > > > On Tue, 24 Feb 2009 15:33:20 +1300
> > > >
> > > > chris  wrote:
> > > > > Hi All
> > > > > I can not connect from my hardy partition to xtra, using either
> > > > > wvdial, or gnome pp.
> > > > > This same machine will connect using the the same modem from the
> > > > > windows partition.
> > > > > Can anyone please offer any sugestions?
> > > > >
> > > > > Regards Chris Thomas
> > > >
> > > > Hi Chris,
> > > >
> > > > Knowing what the modem was ( sudo lspci should tell you ) will make
> > > > support easier (:
> > > >
> > > > Cheers, Steve




Re: Hardy 8.04 modem concerns

2009-02-24 Thread Steve Holdoway
On Tue, 24 Feb 2009 21:25:38 +1300
chris  wrote:

> Hi Steve,
> Yes it is on ttys0, and I can hear the modem negotiate the connection.
> It then connects, and falls over at the exchange of user names and
> password.
It looks like you're well into problems with the the telecon infrastructure 
setup. Unfortunately, I have no experience with this, being on ihug/voda so 
can't really help.

Good luck,

Steve

-- 
Steve Holdoway 


Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Will do and thanks for all suggestions to everyone
Cheers Chris Thomas

On Tue, 2009-02-24 at 21:59 +1300, John Rye wrote:
> On Tue, 24 Feb 2009 21:47:22 +1300
> Rik Tindall wrote:
> 
> > chris wrote:
> > > Hi Steve,
> > > Yes it is on ttys0, and I can hear the modem negotiate the connection.
> > > It then connects, and falls over at the exchange of user names and
> > > password.
> > > As this is a dual boot system, I know that the issue is not
> > > name/password, as they are the same for both systems, as is of course
> > > the isp phone numer.
> > >
> > > it seems to be something in the exchange of username or password that
> > > xtra is not acknowledging under hardy 8.04, but is under xp pro
> > >
> > > The ppp log reports "looks like a keyword", and then crash. times out or
> > > terminates I am no completely sure which.
> > >
> > > I will attach the tail of the ppp log to an email tomorrow and see if
> > > you can pick anything up.
> > >
> > >   
> > 
> >  From memory there is an error like this created by 'root' being owner of:
> > 
> > r...@celeron2195-ubuntu804:~$ ls /etc/ppp/* -l
> > -rw--- 1 root root   101 2008-08-01 11:25 /etc/ppp/chap-secrets
> > -rwxr-xr-x 1 root root  1754 2007-10-05 08:57 /etc/ppp/ip-down
> > -rwxr-xr-x 1 root root  1892 2007-10-05 08:57 /etc/ppp/ip-up
> > -rwxr-xr-x 1 root root   784 2007-10-05 08:57 /etc/ppp/ipv6-down
> > -rwxr-xr-x 1 root root   922 2007-10-05 08:57 /etc/ppp/ipv6-up
> > -rw-r--r-- 1 root root 13486 2007-10-05 08:57 /etc/ppp/options
> > -rw--- 1 root root  1649 2008-08-01 11:25 /etc/ppp/pap-secrets
> > -rwxr-xr-x 1 root root   137 2007-10-05 08:57 /etc/ppp/pppoe_on_boot
> > -rw-r--r-- 1 root root48 2008-08-01 12:46 /etc/ppp/resolv.conf
> > 
> > ..which 'user' needs write access to one/some of in order to complete 
> > the login.
> > 
> > - That could prompt someone who remembers exactly what ppp wants to 
> > write to; it should be listed in your error logs, IIRC.
> 
> Not sure about pppd wanting to write - I've always has hassles connecting
> to Xtra via dialup and more so in recent times.
> 
> Chris, try adding the following to your /etc/ppp/options, (some of the
> negotiation timing defaults may be too short)
> 
> lock
> noauth
> defaultroute
> ipcp-max-configure 65
> ipcp-accept-local
> ipcp-accept-remote
> idle 600
> 
> John
> 



Re: Hardy 8.04 modem concerns

2009-02-24 Thread Andrew Errington
This seems related:

http://www.linux.net.nz/pipermail/aucklug/2007-March/001508.html

Can the changes selected by Yast (the configuration tool in Suse) be made
in Ubuntu?

HTH,

A



Re: Hardy 8.04 modem concerns

2009-02-24 Thread John Rye
On Tue, 24 Feb 2009 21:58:59 +1300
chris wrote:

> Hi Steve
> Attached is the ppp log output of the last attempt to connect to xtra.
> This was 5 mins after a successful download of mail etc using the same
> modem from the xp partition
> regards Chris

After looking at your log ... have you run:
 'sudo wvdialconf /etc/wvdial.conf'
 yet?

If not do so, then edit /etc/wvdial.conf as root and insert the phone
numbers etc eg; 'sudo gedit /etc/wvdial.conf'

John


Re: Hardy 8.04 modem concerns

2009-02-24 Thread Rik Tindall



chris wrote:

it seems to be something in the exchange of username or password that
xtra is not acknowledging under hardy 8.04, but is under xp pro

The ppp log reports "looks like a keyword", and then crash. times out or
terminates I am no completely sure which.


From memory there is an error like this created by 'root' being owner of:

r...@celeron2195-ubuntu804:~$ ls /etc/ppp/* -l
-rw--- 1 root root   101 2008-08-01 11:25 /etc/ppp/chap-secrets
-rwxr-xr-x 1 root root  1754 2007-10-05 08:57 /etc/ppp/ip-down
-rwxr-xr-x 1 root root  1892 2007-10-05 08:57 /etc/ppp/ip-up
-rwxr-xr-x 1 root root   784 2007-10-05 08:57 /etc/ppp/ipv6-down
-rwxr-xr-x 1 root root   922 2007-10-05 08:57 /etc/ppp/ipv6-up
-rw-r--r-- 1 root root 13486 2007-10-05 08:57 /etc/ppp/options
-rw--- 1 root root  1649 2008-08-01 11:25 /etc/ppp/pap-secrets
-rwxr-xr-x 1 root root   137 2007-10-05 08:57 /etc/ppp/pppoe_on_boot
-rw-r--r-- 1 root root48 2008-08-01 12:46 /etc/ppp/resolv.conf

..which 'user' needs write access to one/some of in order to complete 
the login.


Compared to old install (see "peers" difference), from which I used to 
dialup:


r...@celeron2195-ubuntu804:/mnt/sda7/etc/ppp$ ls -l
total 72
-rw--- 1 root root   118 2008-03-30 15:08 chap-secrets

-rw-r--r-- 1 root root 13523 2008-05-14 08:35 options
-rw--- 1 root root  1666 2008-03-30 15:08 pap-secrets
drwxr-s--- 2 root dip   4096 2007-11-26 12:43 peers
-rwxr-xr-x 1 root root   137 2007-10-05 08:57 pppoe_on_boot
drwxr-xr-x 2 root root  4096 2007-06-22 16:55 resolv
-rw-r--r-- 1 root root48 2008-05-29 17:41 resolv.conf

r...@celeron2195-ubuntu804:/mnt/sda7/etc/ppp/peers$ ls -l
total 16
-rw-r--r-- 1 root dip   109 2008-03-30 15:08 ppp0
-rw-r- 1 root dip  1093 2007-10-16 12:28 provider
-rw-r--r-- 1 root root   30 2007-06-15 01:51 wvdial
-rw-r--r-- 1 root root   75 2007-06-15 01:51 wvdial-pipe


Re: Hardy 8.04 modem concerns

2009-02-24 Thread John Rye
On Tue, 24 Feb 2009 21:47:22 +1300
Rik Tindall wrote:

> chris wrote:
> > Hi Steve,
> > Yes it is on ttys0, and I can hear the modem negotiate the connection.
> > It then connects, and falls over at the exchange of user names and
> > password.
> > As this is a dual boot system, I know that the issue is not
> > name/password, as they are the same for both systems, as is of course
> > the isp phone numer.
> >
> > it seems to be something in the exchange of username or password that
> > xtra is not acknowledging under hardy 8.04, but is under xp pro
> >
> > The ppp log reports "looks like a keyword", and then crash. times out or
> > terminates I am no completely sure which.
> >
> > I will attach the tail of the ppp log to an email tomorrow and see if
> > you can pick anything up.
> >
> >   
> 
>  From memory there is an error like this created by 'root' being owner of:
> 
> r...@celeron2195-ubuntu804:~$ ls /etc/ppp/* -l
> -rw--- 1 root root   101 2008-08-01 11:25 /etc/ppp/chap-secrets
> -rwxr-xr-x 1 root root  1754 2007-10-05 08:57 /etc/ppp/ip-down
> -rwxr-xr-x 1 root root  1892 2007-10-05 08:57 /etc/ppp/ip-up
> -rwxr-xr-x 1 root root   784 2007-10-05 08:57 /etc/ppp/ipv6-down
> -rwxr-xr-x 1 root root   922 2007-10-05 08:57 /etc/ppp/ipv6-up
> -rw-r--r-- 1 root root 13486 2007-10-05 08:57 /etc/ppp/options
> -rw--- 1 root root  1649 2008-08-01 11:25 /etc/ppp/pap-secrets
> -rwxr-xr-x 1 root root   137 2007-10-05 08:57 /etc/ppp/pppoe_on_boot
> -rw-r--r-- 1 root root48 2008-08-01 12:46 /etc/ppp/resolv.conf
> 
> ..which 'user' needs write access to one/some of in order to complete 
> the login.
> 
> - That could prompt someone who remembers exactly what ppp wants to 
> write to; it should be listed in your error logs, IIRC.

Not sure about pppd wanting to write - I've always has hassles connecting
to Xtra via dialup and more so in recent times.

Chris, try adding the following to your /etc/ppp/options, (some of the
negotiation timing defaults may be too short)

lock
noauth
defaultroute
ipcp-max-configure 65
ipcp-accept-local
ipcp-accept-remote
idle 600

John



Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
So how do I fix it?
Cheers Chris
On Tue, 2009-02-24 at 21:47 +1300, Rik Tindall wrote:
> chris wrote:
> > Hi Steve,
> > Yes it is on ttys0, and I can hear the modem negotiate the connection.
> > It then connects, and falls over at the exchange of user names and
> > password.
> > As this is a dual boot system, I know that the issue is not
> > name/password, as they are the same for both systems, as is of course
> > the isp phone numer.
> >
> > it seems to be something in the exchange of username or password that
> > xtra is not acknowledging under hardy 8.04, but is under xp pro
> >
> > The ppp log reports "looks like a keyword", and then crash. times out or
> > terminates I am no completely sure which.
> >
> > I will attach the tail of the ppp log to an email tomorrow and see if
> > you can pick anything up.
> >
> >   
> 
>  From memory there is an error like this created by 'root' being owner of:
> 
> r...@celeron2195-ubuntu804:~$ ls /etc/ppp/* -l
> -rw--- 1 root root   101 2008-08-01 11:25 /etc/ppp/chap-secrets
> -rwxr-xr-x 1 root root  1754 2007-10-05 08:57 /etc/ppp/ip-down
> -rwxr-xr-x 1 root root  1892 2007-10-05 08:57 /etc/ppp/ip-up
> -rwxr-xr-x 1 root root   784 2007-10-05 08:57 /etc/ppp/ipv6-down
> -rwxr-xr-x 1 root root   922 2007-10-05 08:57 /etc/ppp/ipv6-up
> -rw-r--r-- 1 root root 13486 2007-10-05 08:57 /etc/ppp/options
> -rw--- 1 root root  1649 2008-08-01 11:25 /etc/ppp/pap-secrets
> -rwxr-xr-x 1 root root   137 2007-10-05 08:57 /etc/ppp/pppoe_on_boot
> -rw-r--r-- 1 root root48 2008-08-01 12:46 /etc/ppp/resolv.conf
> 
> ..which 'user' needs write access to one/some of in order to complete 
> the login.
> 
> - That could prompt someone who remembers exactly what ppp wants to 
> write to; it should be listed in your error logs, IIRC.



Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Hi Steve
Attached is the ppp log output of the last attempt to connect to xtra.
This was 5 mins after a successful download of mail etc using the same
modem from the xp partition
regards Chris



On Tue, 2009-02-24 at 16:42 +1300, Steve Holdoway wrote:
> That's an external one, isn't it?? So can you talk to it on /dev/ttyS0 or is 
> it on ttyS1?
> ( try connecting to it with minicom, and typing ATZ - it'll answer OK if it 
> is, then you'll be sure which device it's on ). 
> 
> Other options, like is it waiting for a dialtone ( maybe from the wrong 
> country? ) before dialling, or can you connect to the clear account that you 
> know the modem can connect to on other machines?? Hopefully that'll help to 
> identify which bit is playing up...
> 
> Steve
> 
> On Tue, 24 Feb 2009 16:27:26 +1300
> chris  wrote:
> 
> > Hi Steve,
> > Can we start again please?
> > the modem is a diamond 56e supra express pro.
> > I use it successfully on my other two machines where it connects
> > flawlessly to clear.
> > However on this machine it will not pass on to Xtra and times out after
> > 24 seconds.
> > 
> > Attached is the output from lspic
> > 
> > will be grateful for any help you can give
> > Regards Chris Thomas
> > 
> > On Tue, 2009-02-24 at 15:41 +1300, Steve Holdoway wrote:
> > > On Tue, 24 Feb 2009 15:33:20 +1300
> > > chris  wrote:
> > > 
> > > > Hi All
> > > > I can not connect from my hardy partition to xtra, using either wvdial,
> > > > or gnome pp.
> > > > This same machine will connect using the the same modem from the windows
> > > > partition.
> > > > Can anyone please offer any sugestions?
> > > > 
> > > > Regards Chris Thomas
> > > > 
> > > Hi Chris, 
> > > 
> > > Knowing what the modem was ( sudo lspci should tell you ) will make 
> > > support easier (:
> > > 
> > > Cheers, Steve
> > 
> 
> 
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATM1L3DT,,087303030,,
--> Waiting for carrier.
ATM1L3DT,,087303030,,
CONNECT 115200
--> Carrier detected.  Waiting for prompt.
 
login: 
--> Looks like a login prompt.
--> Sending: vernacee
vernacee
Password: 
--> Looks like a password prompt.
--> Sending: (password)
Login/Network User: 
--> Looks like a login prompt.
--> Sending: vernacee
vernacee
CLI - Invalid Argument: vernacee
This field is a KEYWORD. The possible values are:
LOGINNETWORK  PPP
Login/Network User: 
--> Looks like a login prompt.
--> Sending: vernacee
vernacee
CLI - Invalid Argument: vernacee
This field is a KEYWORD. The possible values are:
LOGINNETWORK  PPP
Login/Network User: 
--> Looks like a login prompt.
--> Sending: vernacee
vernacee
CLI - Invalid Argument: vernacee
This field is a KEYWORD. The possible values are:
LOGINNETWORK  PPP
Login/Network User: 
--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Wed Feb 25 10:52:51 2009
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 5485
--> Using interface ppp0
--> Disconnecting at Wed Feb 25 10:53:22 2009
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages 
for more information.


Re: Hardy 8.04 modem concerns

2009-02-24 Thread Rik Tindall

chris wrote:

Hi Steve,
Yes it is on ttys0, and I can hear the modem negotiate the connection.
It then connects, and falls over at the exchange of user names and
password.
As this is a dual boot system, I know that the issue is not
name/password, as they are the same for both systems, as is of course
the isp phone numer.

it seems to be something in the exchange of username or password that
xtra is not acknowledging under hardy 8.04, but is under xp pro

The ppp log reports "looks like a keyword", and then crash. times out or
terminates I am no completely sure which.

I will attach the tail of the ppp log to an email tomorrow and see if
you can pick anything up.

  


From memory there is an error like this created by 'root' being owner of:

r...@celeron2195-ubuntu804:~$ ls /etc/ppp/* -l
-rw--- 1 root root   101 2008-08-01 11:25 /etc/ppp/chap-secrets
-rwxr-xr-x 1 root root  1754 2007-10-05 08:57 /etc/ppp/ip-down
-rwxr-xr-x 1 root root  1892 2007-10-05 08:57 /etc/ppp/ip-up
-rwxr-xr-x 1 root root   784 2007-10-05 08:57 /etc/ppp/ipv6-down
-rwxr-xr-x 1 root root   922 2007-10-05 08:57 /etc/ppp/ipv6-up
-rw-r--r-- 1 root root 13486 2007-10-05 08:57 /etc/ppp/options
-rw--- 1 root root  1649 2008-08-01 11:25 /etc/ppp/pap-secrets
-rwxr-xr-x 1 root root   137 2007-10-05 08:57 /etc/ppp/pppoe_on_boot
-rw-r--r-- 1 root root48 2008-08-01 12:46 /etc/ppp/resolv.conf

..which 'user' needs write access to one/some of in order to complete 
the login.


- That could prompt someone who remembers exactly what ppp wants to 
write to; it should be listed in your error logs, IIRC.


Re: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Hi Steve,
Yes it is on ttys0, and I can hear the modem negotiate the connection.
It then connects, and falls over at the exchange of user names and
password.
As this is a dual boot system, I know that the issue is not
name/password, as they are the same for both systems, as is of course
the isp phone numer.

it seems to be something in the exchange of username or password that
xtra is not acknowledging under hardy 8.04, but is under xp pro

The ppp log reports "looks like a keyword", and then crash. times out or
terminates I am no completely sure which.

I will attach the tail of the ppp log to an email tomorrow and see if
you can pick anything up.

The machine is an IBM p4 for what that is worth, with an ibm
motherboard.

This modem I also use on my laptop as ttyUSB0 and I have used it on
several ubuntu dual boot systems with out an issue.

I tried wvdial, with the same result.

All help gratefully received.

Cheers chris 

On Tue, 2009-02-24 at 16:42 +1300, Steve Holdoway wrote:
> That's an external one, isn't it?? So can you talk to it on /dev/ttyS0 or is 
> it on ttyS1?
> ( try connecting to it with minicom, and typing ATZ - it'll answer OK if it 
> is, then you'll be sure which device it's on ). 
> 
> Other options, like is it waiting for a dialtone ( maybe from the wrong 
> country? ) before dialling, or can you connect to the clear account that you 
> know the modem can connect to on other machines?? Hopefully that'll help to 
> identify which bit is playing up...
> 
> Steve
> 
> On Tue, 24 Feb 2009 16:27:26 +1300
> chris  wrote:
> 
> > Hi Steve,
> > Can we start again please?
> > the modem is a diamond 56e supra express pro.
> > I use it successfully on my other two machines where it connects
> > flawlessly to clear.
> > However on this machine it will not pass on to Xtra and times out after
> > 24 seconds.
> > 
> > Attached is the output from lspic
> > 
> > will be grateful for any help you can give
> > Regards Chris Thomas
> > 
> > On Tue, 2009-02-24 at 15:41 +1300, Steve Holdoway wrote:
> > > On Tue, 24 Feb 2009 15:33:20 +1300
> > > chris  wrote:
> > > 
> > > > Hi All
> > > > I can not connect from my hardy partition to xtra, using either wvdial,
> > > > or gnome pp.
> > > > This same machine will connect using the the same modem from the windows
> > > > partition.
> > > > Can anyone please offer any sugestions?
> > > > 
> > > > Regards Chris Thomas
> > > > 
> > > Hi Chris, 
> > > 
> > > Knowing what the modem was ( sudo lspci should tell you ) will make 
> > > support easier (:
> > > 
> > > Cheers, Steve
> > 
> 
> 



RE: Hardy 8.04 modem concerns

2009-02-24 Thread chris
Yes, and I can attach that tomorrow.
cheers Chris
On Tue, 2009-02-24 at 16:40 +1300, Payne, Owen wrote:
> You say it times out, do you get a ppp log of the session? 
> 
> -Original Message-
> From: chris [mailto:che...@gmail.com] 
> Sent: Tuesday, 24 February 2009 4:31 pm
> To: linux-users@it.canterbury.ac.nz
> Subject: Re: Hardy 8.04 modem concerns
> 
> sorry Steve the information I sent you was from the wrong machine  :-(
> 
> I have just resent the correct info
> Regards Chris
> 
> On Tue, 2009-02-24 at 16:25 +1300, Steve Holdoway wrote:
> > Looks like you may need to trawl through the intel website for the
> right drivers ):
> > 
> > Cheers,
> > 
> > Steve.
> > 
> > On Tue, 24 Feb 2009 16:07:39 +1300
> > chris  wrote:
> > 
> > > Forgot, modem is attached to ttyso
> > > Cheers Chris
> > > not ttyusb0
> > > I am having to send this from another machine not the one that won't
> 
> > > connect.
> > > 
> > > On Tue, 2009-02-24 at 15:41 +1300, Steve Holdoway wrote:
> > > > On Tue, 24 Feb 2009 15:33:20 +1300 chris  wrote:
> > > > 
> > > > > Hi All
> > > > > I can not connect from my hardy partition to xtra, using either 
> > > > > wvdial, or gnome pp.
> > > > > This same machine will connect using the the same modem from the
> 
> > > > > windows partition.
> > > > > Can anyone please offer any sugestions?
> > > > > 
> > > > > Regards Chris Thomas
> > > > > 
> > > > Hi Chris,
> > > > 
> > > > Knowing what the modem was ( sudo lspci should tell you ) will
> make support easier (:
> > > > 
> > > > Cheers, Steve
> > > 
> > 
> > 
> 
> 
> **
> This electronic email and any files transmitted with it are intended
> solely for the use of the individual or entity to whom they are
> addressed.
> 
> The views expressed in this message are those of the individual
> sender and may not necessarily reflect the views of the Christchurch
> City Council.
> 
> If you are not the correct recipient of this email please advise the
> sender and delete.
> 
> Christchurch City Council
> http://www.ccc.govt.nz
> **
> 
>