Re: PPP & PAP

2000-12-30 Thread matthschulz
Did You put the DNS-Addresses into /etc/resolv.conf ?

Matth

Am Samstag, 30. Dezember 2000 14:37 schrieb Dieter Schicker:
> Hi,
>
> I got a problem setting up a connection to an ISP-Provider that uses PAP.
> I will attach the contents of the files that I edited. Hopefully someone
> can help me.
>
> Thanks in advance and a happy new year
> Cheers
> Dieter
>
> The modem dials in normally but when I try an URL in the browser
> it says "Unable to locate host" or something similar.
>
> 
>
> /etc/ppp/options
>
> dilino:/usr/sbin# egrep -v '#|^ *$' /etc/ppp/options
> asyncmap 0
> noauth
> crtscts
> hide-password
> modem
> noipdefault
> passive
>
> *
>
> /etc/ppp/ppp-on:
>
> TELEPHONE=XX# telephon number for the connection
> ACCOUNT='xxx' # The account name for logon (as in 'George Burns')
> PASSWORD='xxx'# The password for this account (and 'Gracie Allen')
> LOCAL_IP=0.0.0.0  # Local IP address if known. Dynamic = 0.0.0.0
> REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
> NETMASK=255.255.255.0 # The proper netmask if needed
>
> DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
>
> exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 57600 \
> asyncmap 20A escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
> noipdefault netmask $NETMASK defaultroute \
> connect $DIALER_SCRIPT
>
> **
>
> /etc/ppp/ppp-on-dialer:
>
> #!/bin/sh
> #
> # This is part 2 of the ppp-on script. It will perform the connection
> # protocol for the desired connection.
> #
> exec /usr/sbin/chat -v\
> TIMEOUT   3   \
> ABORT '\nBUSY\r'  \
> ABORT '\nNO ANSWER\r' \
> ABORT '\nRINGING\r\n\r\nRINGING\r'\
> ''\rAT\
> 'OK-+++\c-OK' ATH0\
> TIMEOUT   60  \
> OKATDT$TELEPHONE  \
> CONNECT   ''
> ogin:--ogin:  $ACCOUNT\
> assword:  $PASSWORD
>
> *
>
> /etc/ppp/peers/provider:
>
># This optionfile was generated by pppconfig 2.0.5.
> #
> #
> hide-password
> noauth
> connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
> debug
> /dev/ttyS0
> 115200
> defaultroute
> noipdefault
> user XXX
> remotename provider
> ipparam provider
> usepeerdns
>
> 
>
> and I also provided 2 DNS-servers in /etc/chatscripts/provider
>
> 
>
> Can anybody tell me what I'm doing wrong?




Re: Problems building kdebase from source using Potato

2000-12-30 Thread David Morgan
On Saturday 30 December 2000 10:03 pm, Gordon Sadler wrote:
>
> Not positive here why this happened, but make sure you have kdelibs3-dev
> installed prior to even attempting to build kdebase from source. Also
> ensure you use $(OPTION TO GETROOT) debian/rules binary.
>
I do have kdelibs3-dev installed. I don't however have task-kde-devel as this 
gives errors with unresolved dependencies. There have been a couple of posts 
to the list about this but no solution that I have seen.  I do have the 
obvious packages like libkonq-dev (i.e. I selected anything which looked 
relevant). I am building from a Root Console window, so I'm root already when 
running debian/rules binary.

> > So although I only downloaded one source package I seem to have got
> > twelve binaries. I wasn't expecting this. What is happening here?
>
> This is expected, when you download the source you got kdebase, which
> is the source for a multi-binary package. One of the binaries it will
> produce is konqueror. Right now it isn't very feasible to try to break
> konqueror out of the and build it by itself.
>
That's explained then. I wasn't sure whether this was a sign that I had 
something wrong, but it isn't.

> Make sure you use the debian/rules binary target, if not you will not
> have the proper environment set prior to build. As far as patching the
> source goes, I haven't tried myself, but if it continues to give you
> problems I suggest you attempt to build it without patching first.
> If that works then debian/rules clean, patch, debian/rules binary
> again.
>
These problems are with the unpatched source. But I've had a lot of false 
starts on this so I've just downloaded the latetest source package again and 
will start from fresh in case.

Thanks for your input.

Regards
David




Wrong dependencies in

2000-12-30 Thread David Morgan
I'm running an upto date Potato installation with the KDE 2 packages on top. 
When I use dselect I get the following dependency error:
  task-kde-devel depends on xlibs-dev or xlibs6g-dev
  xlibs-dev does not appear to be available
  xlibs6g-dev does not appear to be available
  task-kde-devel depends on libxml2-dev
  libxml2-dev does not appear to be available
  task-kde-devel suggests kdbg

I suspect the first problem might be a typo as I do have a package called 
xlib6g-dev i.e. without the 's' after 'lib'. But I don't have libxml2-dev at 
all, only libxml-dev, is this a Woody package?

Regards
David Morgan




Re: Problems building kdebase from source using Potato

2000-12-30 Thread Gordon Sadler
On Sat, Dec 30, 2000 at 08:57:56PM +, David Morgan wrote:
> I haven't built any debian packages from source before so this may be 
> something I'm doing wrong, but I've checked the Debian FAQ on buidling from 
> source and I've built the test package "hello" successfully so I think I've 
> got the basics all in place.
> 
> Now I want to build kdebase from source as I want to get a version with the 
> Kamera patch applied (see http://www.thekompany.com/projects/gphoto/ for 
> details). I used apt to get the source files and unpack them. But I couldn't 
> build the binary deb from this cleanly as after the long compile phase I got 
> the following errors:
>   dh_movefiles -pkonqueror
>   find: usr/bin/nspluginviewer: No such file or directory 
>   find: usr/bin/nspluginscan: No such file or directory
>   find: usr/bin/nspluginviewer: No such file or directory
>   find: usr/bin/nspluginscan: No such file or directory
>   make: *** [binary-arch] Error 1
> 
Not positive here why this happened, but make sure you have kdelibs3-dev
installed prior to even attempting to build kdebase from source. Also
ensure you use $(OPTION TO GETROOT) debian/rules binary.

> I'm running Potato with the latest updates applied.
> 
I have Sid/unstable here, but am tracking CVS for kde somewhat.

> I edited debian/konqueror.files and removed the four lines for nspluginviewer 
> and nspluginscan and their associated info files. Then I tried to build the 
> binary deb with:
>   debian/rules binary
> 
> This seemed to work but I ended up with twelve deb files not the one I was 
> expecting:
>  kdebase-dev_2.0.1-0.potato5_i386.deb
>  kdebase-doc_2.0.1-0.potato5_all.deb
>  kdebase-libs_2.0.1-0.potato5_i386.deb
>  kdebase_2.0.1-0.potato5_i386.deb
>  kdewallpapers_2.0.1-0.potato5_all.deb
>  kdm_2.0.1-0.potato5_i386.deb
>  konqueror_2.0.1-0.potato5_i386.deb
>  konsole_2.0.1-0.potato5_i386.deb
>  libkonq-dev_2.0.1-0.potato5_i386.deb
>  libkonq3_2.0.1-0.potato5_i386.deb
>  task-kde-devel_2.0.1-0.potato5_all.deb
>  task-kde_2.0.1-0.potato5_all.deb
> 
> So although I only downloaded one source package I seem to have got twelve 
> binaries. I wasn't expecting this. What is happening here?
> 
This is expected, when you download the source you got kdebase, which
is the source for a multi-binary package. One of the binaries it will
produce is konqueror. Right now it isn't very feasible to try to break
konqueror out of the and build it by itself.

> Am I going about things in the right way? The Kamera build instructions just 
> say to apply over clean kdebase source and ./configure && make && make 
> install but this doesn't seem right for debian packaged source.
> 
Make sure you use the debian/rules binary target, if not you will not
have the proper environment set prior to build. As far as patching the
source goes, I haven't tried myself, but if it continues to give you
problems I suggest you attempt to build it without patching first.
If that works then debian/rules clean, patch, debian/rules binary
again.

Good luck
Gordon Sadler




PPP & PAP

2000-12-30 Thread Dieter Schicker

Hi,

I got a problem setting up a connection to an ISP-Provider that uses PAP.
I will attach the contents of the files that I edited. Hopefully someone can
help me.

Thanks in advance and a happy new year
Cheers
Dieter

The modem dials in normally but when I try an URL in the browser
it says "Unable to locate host" or something similar.



/etc/ppp/options

dilino:/usr/sbin# egrep -v '#|^ *$' /etc/ppp/options
asyncmap 0
noauth
crtscts
hide-password
modem
noipdefault
passive

*

/etc/ppp/ppp-on:

TELEPHONE=XX# telephon number for the connection
ACCOUNT='xxx'   # The account name for logon (as in 'George Burns')
PASSWORD='xxx'  # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0# Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0   # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0   # The proper netmask if needed

DIALER_SCRIPT=/etc/ppp/ppp-on-dialer

exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 57600 \
asyncmap 20A escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute \
connect $DIALER_SCRIPT

**

/etc/ppp/ppp-on-dialer:

#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec /usr/sbin/chat -v  \
TIMEOUT 3   \
ABORT   '\nBUSY\r'  \
ABORT   '\nNO ANSWER\r' \
ABORT   '\nRINGING\r\n\r\nRINGING\r'\
''  \rAT\
'OK-+++\c-OK'   ATH0\
TIMEOUT 60  \
OK  ATDT$TELEPHONE  \
CONNECT ''
ogin:--ogin:$ACCOUNT\
assword:$PASSWORD

*

/etc/ppp/peers/provider:

   # This optionfile was generated by pppconfig 2.0.5.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS0
115200
defaultroute
noipdefault
user XXX
remotename provider
ipparam provider
usepeerdns



and I also provided 2 DNS-servers in /etc/chatscripts/provider



Can anybody tell me what I'm doing wrong?




Thanks

2000-12-30 Thread Mircea Luca

Thanks to everybody who replied.Suddenly after the first reply I started to get
the mails from the list as well.Weird.

Thanks again




Problems building kdebase from source using Potato

2000-12-30 Thread David Morgan
I haven't built any debian packages from source before so this may be 
something I'm doing wrong, but I've checked the Debian FAQ on buidling from 
source and I've built the test package "hello" successfully so I think I've 
got the basics all in place.

Now I want to build kdebase from source as I want to get a version with the 
Kamera patch applied (see http://www.thekompany.com/projects/gphoto/ for 
details). I used apt to get the source files and unpack them. But I couldn't 
build the binary deb from this cleanly as after the long compile phase I got 
the following errors:
  dh_movefiles -pkonqueror
  find: usr/bin/nspluginviewer: No such file or directory 
  find: usr/bin/nspluginscan: No such file or directory
  find: usr/bin/nspluginviewer: No such file or directory
  find: usr/bin/nspluginscan: No such file or directory
  make: *** [binary-arch] Error 1

I'm running Potato with the latest updates applied.

I edited debian/konqueror.files and removed the four lines for nspluginviewer 
and nspluginscan and their associated info files. Then I tried to build the 
binary deb with:
  debian/rules binary

This seemed to work but I ended up with twelve deb files not the one I was 
expecting:
 kdebase-dev_2.0.1-0.potato5_i386.deb
 kdebase-doc_2.0.1-0.potato5_all.deb
 kdebase-libs_2.0.1-0.potato5_i386.deb
 kdebase_2.0.1-0.potato5_i386.deb
 kdewallpapers_2.0.1-0.potato5_all.deb
 kdm_2.0.1-0.potato5_i386.deb
 konqueror_2.0.1-0.potato5_i386.deb
 konsole_2.0.1-0.potato5_i386.deb
 libkonq-dev_2.0.1-0.potato5_i386.deb
 libkonq3_2.0.1-0.potato5_i386.deb
 task-kde-devel_2.0.1-0.potato5_all.deb
 task-kde_2.0.1-0.potato5_all.deb

So although I only downloaded one source package I seem to have got twelve 
binaries. I wasn't expecting this. What is happening here?

Am I going about things in the right way? The Kamera build instructions just 
say to apply over clean kdebase source and ./configure && make && make 
install but this doesn't seem right for debian packaged source.

Thanks
David Morgan




Re: Installation from local files?

2000-12-30 Thread Ernesto Domato
Well, another solution is this:
1) Download the modules that you want with rsync for example, I use this 
script:
---
#!/bin/sh

root=/home/ernesto/KDE_rsync/dists/potato
cd "$root"
exec rsync -v -az --delete --delete-excluded \
--exclude source/ \
--exclude incoming/ \
--exclude changes/ \
--exclude binary-alpha/ \
--exclude binary-m68k/ \
--exclude binary-sparc/ \
--exclude binary-powerpc/ \
kde.tdyc.com::kde/dists/potato/ .
---
2) Add to sources.list the line:
deb file:/home/ernesto/KDE_rsync potato main crypto beta
3) I usually use the dselect tool so you have to do an update
That's all. Hope this where usefull.
Greettings.
Ernesto.
I've downloaded the KDE2 packages for potato (from
ftp://ftp.kde.org/pub/kde/stable/2.0/distribution/deb/Debian/dists/potato/main/binary-i386/).
But as I'm new to Debian, I don't quite know what to do with them now...
I've messed around for a while with apt-get (a "Packages" file seems to
be missing), dselect and dpkg, to no avail :-(
dpkg -R /home/foo
should install all deb packages in the directory foo.
While I haven't tested it it should work according to dpkg --help
Alternate would be to install package by package with dpkg -i foo.deb
hunting for dependencies (ugh !) .
For apt or dselect you need to create the packages.gz file in the
directory.
You can do that with dpkg-scanpackages .
Also you can add the relevant line in /etc/apt/sources.list
deb http://kde.tdyc.com potato main crypto optional qt1apps
do an 
apt-get update

then to avoid redownloading all pacakges again just copy them from where
they are
to /var/cache/apt/archives
apt will check the dependencies and download only what you don't have
already.
But you have to do the update first so apt knows what those packages are
about.



Problem with task-kde-dev

2000-12-30 Thread Ernesto Domato
Hi everybody.
It seems that there is some dependencie problem with "task-kde-dev". I 
try to install it yesterday and got:

task-kde-devel depends on kdemultimedia-dev
kdemultimedia-dev depends on libmpeglib-dev
libmpeglib-dev conflicts with kdemultimedia-dev  


Thanks for all.
Ernesto.



Re: Please reply

2000-12-30 Thread Myles Green
On Saturday 30 December 2000 12:37, Mircea Luca wrote:
> Hi
>
> For some reason  for 2 days now I don't receive anything from the
> list.Can somebody please CC'me with
> a reply if the message made it to the list.I want to check my
> subscription.
>
> Thanks

Loud and clear ;)

-- 
Myles Green Calgary AB Canada
http://linuxsteps.webjump.com/
--
^X^C
q
quit
:q
^C
end
x
exit
ZZ
^D
?
help
shit
..




Please reply

2000-12-30 Thread Mircea Luca
Hi

For some reason  for 2 days now I don't receive anything from the
list.Can somebody please CC'me with
a reply if the message made it to the list.I want to check my
subscription.

Thanks