[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pppd and dhcp questions [WAS: demon usb modem [WAS: suggestions of uncapped Broadband >512Kbp in UK]]



On Mon, 2005-08-15 at 00:00 +0100, michael wrote:
> On Sat, 2005-08-13 at 14:51 +0100, linux wrote:
> > At 11:33 13/08/2005, you wrote:
> > 
> > >At 12:22 12/08/2005, you wrote:
> > >
> > >>On Friday 12 Aug 2005 12:03, TreeBoy wrote:
> > >> > The instructions I followed were:
> > >> >
> > >> > http://linux-usb.sourceforge.net/SpeedTouch/docs/sargehowto.html
> > >> >
> > >> > However, you do *not* need to do configure the kernel.
> > >> >
> > >> > You *do* need to "apt-get install speedtouch"!
> > >> >
> > >> > You do *NOT* need to install hotplug - 'cos it's already there.
> > >> >
> > >> > You *do* need to get the firmware!
> > >> >
> > >> > You do not need to install the hotplug script the "apt-get install
> > >> > speedtouch" inserts that for you.
> > >> >
> > >> > You need to configure PPPoA and create your /etc/pppp/peers/ file. I 
> > >> called
> > >> > mine "demon" and it looks like this:
> > >> >
> > >> > debug
> > >> > lcp-echo-interval 10
> > >> > lcp-echo-failure 3
> > >> > noipdefault
> > >> > defaultroute
> > >> > user "mydemonusername@myaccesspoint.demonadsl.co.uk"
> > >> > noauth
> > >> > noaccomp
> > >> > nopcomp
> > >> > noccp
> > >> > novj
> > >> > holdoff 4
> > >> > persist
> > >> > maxfail 25
> > >> > updetach
> > >> > #usepeerdns
> > >> > plugin pppoatm.so
> > >> > 0.38
> > >> >
> > >> >
> > >> > Notice that I have commented out "usepeerdns" this is because of other
> > >> > parts of my setup.
> > >> >
> > >> > Next, you *do* need to setup chap-secrets and pap-secrets with your
> > >> > details.
> > >> >
> > >> > libatm1 should be installed as a dependency of speedtouch.
> > >> >
> > >> > That should be it - now just "Plug and Play"!
> > >> >
> > >> > Good luck.
> > >> >
> > >> > TreeBoy
> > >>
> > >>Some of this may not be necessary if you are running a >2.6.10 kernel.
> > >>
> > >>This explains:
> > >>
> > >>http://www.debianhelp.org/module-pnForum-viewtopic-topic-9551-start-0.html
> > >
> > >
> > >I'm running 2.6.11 kernel so that implies just download the relevant file 
> > >(speedtouch-firmware_0.3012k_all.deb). I then did a 'dpkg -i' on this (is 
> > >that all I need to do?!??!), set up peers/demon based on above and amended 
> > >pap_secrets to end:
> > >
> > >-- begin snippet --
> > ># OUTBOUND connections
> > >
> > ># Here you should add your userid password to connect to your providers via
> > ># PAP. The * means that the password is to be used for ANY host you connect
> > ># to. Thus you do not have to worry about the foreign machine name. Just
> > ># replace password with your password.
> > ># If you have different providers with different passwords then you better
> > ># remove the following line.
> > >
> > >(none)  *       password
> > >
> > >michael * [demon password]
> > >-- end snippet --
> > 
> > 
> > but maybe that should be my demon login not my localhost login? (neither 
> > seem to work!)
> 
> 
> okay, it should be my demon login. but althought it says
>  ADSL line is up (...)
> it then does several 
>  DHCPDISCOVER on eth0...
> ending with 
>  No offers received
> 
> but once in to X I can do 'sudo pon speedtch' and am away... so it seems
> am just missing something in the boot scripts....


so the new questions are

a) how to circumvent having to do 'pon' by hand each time
b) what to do about the dhcpdiscover msgs (they take ages too)
c) and what does
  Cannot determine ethernet address for proxy ARP
mean when I do do 'pon' by hand?

I'm busy reading the pppd man pages but it's heavy going!

thanks, michael


> 
> ta, M
> 
> -- 
> Michael Bane
> Atmospheric Physics Group
> University of Manchester
> 
> 
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester



Reply to: