Hi, my ISP provides two services: 1. internet connection 2. local net connection
Connections established via ADSL modem using pppoe protocol. I use mpd 3.18 on FreeBSD 6.2 home router to get my home net connected to ISP. Internet works excellent, however I have problems with getting connection to local net provided by ISP. Everything works fine under windows (I heard success stories from other users about Linux), however I can't setup this under FreeBSD with mpd. The issue is the following: to get connection to local net, I should specify the following special params: ACNAME=local SERVICENAME=localcontent Yes, they have 2 separate pppoe access concentrators, and if I don't define access point name, default one (which provides connection to internet) answers. Under windows I just set "local\localcontent" as service name, however this does not work under FreeBSD. Here is my config (only that part that used to get connection to local net): /usr/local/etc/mpd/mpd.conf ONET: new -i ng1 ONET ONET_LINK set iface addrs 1.1.1.2 2.2.2.3 set iface disable on-demand set iface idle 0 set bundle disable multilink set bundle disable compression set bundle authname "[EMAIL PROTECTED]" set bundle password "xxxxxxxx" set link no acfcomp protocomp # set link disable pap chap set link accept pap chap set link mtu 1492 set link mru 1492 set link keep-alive 10 60 set ipcp no vjcomp set ipcp ranges 0.0.0.0/0 0.0.0.0/0 open iface /usr/local/etc/mpd/mpd.links ONET_LINK: set link type pppoe set pppoe iface rl0 set pppoe service "local\\localcontent" set pppoe disable incoming set pppoe enable originate As service I tried: "local/localcontent", "locallocalcontent", "local\localcontent" and "local\\localcontent". Here is part from log: [ONET_LINK] link: OPEN event [ONET_LINK] LCP: Open event [ONET_LINK] LCP: state change Initial --> Starting [ONET_LINK] LCP: LayerStart [ONET_LINK] device: OPEN event in state DOWN [ONET_LINK] device is now in state OPENING [ONET_LINK] rec'd ACNAME "Kh_Bras_2" [ONET_LINK] rec'd proto LCP while dead [ONET_LINK] PPPoE connection successful [ONET_LINK] device: UP event in state OPENING [ONET_LINK] device is now in state UP [ONET_LINK] link: UP event [ONET_LINK] link: origination is local [ONET_LINK] LCP: Up event [ONET_LINK] LCP: state change Starting --> Req-Sent [ONET_LINK] LCP: phase shift DEAD --> ESTABLISH [ONET_LINK] LCP: SendConfigReq #1 [ONET_LINK] LCP: rec'd Configure Ack #1 link 0 (Req-Sent) [ONET_LINK] LCP: state change Req-Sent --> Ack-Rcvd [ONET_LINK] LCP: rec'd Configure Request #2 link 0 (Ack-Rcvd) [ONET_LINK] LCP: SendConfigAck #2 [ONET_LINK] LCP: state change Ack-Rcvd --> Opened [ONET_LINK] LCP: phase shift ESTABLISH --> AUTHENTICATE [ONET_LINK] LCP: auth: peer wants PAP, I want nothing [ONET_LINK] PAP: using authname "[EMAIL PROTECTED]" [ONET_LINK] PAP: sending REQUEST [ONET_LINK] LCP: LayerUp [ONET_LINK] PAP: rec'd NAK #1 [ONET_LINK] LCP: authorization failed [ONET_LINK] device: CLOSE event in state UP [ONET_LINK] device is now in state CLOSING [ONET_LINK] device: DOWN event in state CLOSING [ONET_LINK] device is now in state DOWN The key lines (on my guess :)): [ONET_LINK] rec'd ACNAME "Kh_Bras_2" [ONET_LINK] PAP: using authname "[EMAIL PROTECTED]" [ONET_LINK] LCP: authorization failed So, the question, how I can set separate access concentrator names for each connection? Regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mpd-users mailing list Mpd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mpd-users