Sponsored Content
Special Forums IP Networking authentication of VM's via PPPoE Post 302683909 by karthik.sharma on Wednesday 8th of August 2012 10:46:02 PM
Old 08-08-2012
authentication of VM's via PPPoE

I have two VM's running on Ubuntu box.Their name and IP addresses are give below.

nas 192.168.129.153
home_user 192.168.129.152

I establish a ppp connection between the two machines

#nas (server)
sudo pppd noauth local lock defaultroute persist nodetach 10.1.1.2:10.1.1.3 pty “nc -l 3333”

#home_user(client)
sudo pppd noauth local lock nodetach passive pty “nc 192.168.129.153 3333”


Once I do the above I can see a ppp connection established between the two machines (from ifconfig )

#nas (server)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.1.1.2 P-t-P:10.1.1.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:78 (78.0 B) TX bytes:72 (72.0 B)

#home_user (client)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.1.1.3 P-t-P:10.1.1.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:72 (72.0 B) TX bytes:78 (78.0 B)


My next aim is to use PPPoE for transport.I install pppoe package on the server

sudo apt-get install pppoe

sudo pppoe-server -I eth0 -L 192.168.129.153 -R 192.168.129.152 -O /etc/ppp/options

I have edited the options file to enable chap and pap authentication.I have also edited chap and pap secret files.

Now my question how do I use the ppp daemon pppd to connect to the server above?
It seems that I have to use the /usr/lib/ppp/version/rp-pppoe.so (part of ppp daemon).How do I make the ppp daemon act as a pppoe client that supports authentication?Any help is appreciated.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dns/pppoe Problems

I would appreciate any help anyone could give. I am having DNS problems... Here are the facts: linux: 2.2.16 Distrib: SUSE 7.0 pppd: rp-pppoe ISP: Verizon Avenue IP: Dynamic DNS: 10.5.0.65 ??? Default Gateway: 10.5.0.65 ???? I have tried putting the above IP into /etc/resolv.conf with... (3 Replies)
Discussion started by: Recon
3 Replies

2. UNIX for Dummies Questions & Answers

PPPoE + ADSL on FreeBSD 4.4

Hi everyone, This is basically my problem. I setup freebsd, and wanted to get my adsl connection up which uses pppoe to connect. I followed the steps in this (http://free.mine.nu/~squirrel/PPPoE/FreeBSD%20PPPoE%20Howto.htm) manual and configured everything successfully. The problem begins when i... (7 Replies)
Discussion started by: Luftwaffe
7 Replies

3. SCO

pppoe

Greetings... I'm looking for a pppoe client for SCO SYS_V can u guys gimme some help ? a website address or even the program name would be just fine. Thanx (1 Reply)
Discussion started by: nEuRoMaNcEr
1 Replies

4. Red Hat

Dial-up PPPoE + Radius authentication in LINUX

Hi All, I am configured radius authentication server and PPPoE in my Linux systems. It is not work.. Kindly help me how to configure pppoe server to authenticate the clients via radius it is working in UNIX FreeBSD for the same not working in linux. Can you have any configuration... (0 Replies)
Discussion started by: thakshina
0 Replies

5. Red Hat

PPPoE Connection on RHEL5

Hi, I am having broadband connection, I need to connect broadband internet through eth0. Please give me some use full information for configuring this. (0 Replies)
Discussion started by: pkachary
0 Replies

6. Slackware

pppoe-start not working

Hello. I'm new here and i'm new to slack (concept) as well. I made a connection for pppoe with pppoe-setup, bringed up eth0 with ifconfig but when i try pppoe-connect i get "Cannot determine ethernet address for proxy ARP" and with pppoe-start i get "child pppd process terminated". How can i make... (0 Replies)
Discussion started by: editheraven
0 Replies

7. Ubuntu

PPPOE + Ubuntu = Frustrating

Hii everyone, I will be explaining what kind of problem I am having with Ubuntu and PPPOE. I have dual booted my PC with Win 7 and Ubuntu 10.10 Previously, whenever I use to start my ubuntu, internet automatically used to start up.. .no problems. I had created a DSL connection through... (0 Replies)
Discussion started by: zsycho
0 Replies
FINDSMB(1)                                                         User Commands                                                        FINDSMB(1)

NAME
findsmb - list info about machines that respond to SMB name queries on a subnet SYNOPSIS
findsmb [subnet broadcast address] DESCRIPTION
This perl script is part of the samba(7) suite. findsmb is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests. It uses nmblookup(1) and smbclient(1) to obtain this information. OPTIONS
-r Controls whether findsmb takes bugs in Windows95 into account when trying to find a Netbios name registered of the remote machine. This option is disabled by default because it is specific to Windows 95 and Windows 95 machines only. If set, nmblookup(1) will be called with -B option. subnet broadcast address Without this option, findsmb will probe the subnet of the machine where findsmb(1) is run. This value is passed to nmblookup(1) as part of the -B option. EXAMPLES
The output of findsmb lists the following information for all machines that respond to the initial nmblookup for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version. There will be a '+' in front of the workgroup name for machines that are local master browsers for that workgroup. There will be an '*' in front of the workgroup name for machines that are the domain master browser for that workgroup. Machines that are running Windows for Workgroups, Windows 95 or Windows 98 will not show any information about the operating system or server version. The command with -r option must be run on a system without nmbd(8) running. If nmbd is running on the system, you will only get the IP address and the DNS name of the machine. To get proper responses from Windows 95 and Windows 98 machines, the command must be run as root and with -r option on a machine without nmbd running. For example, running findsmb without -r option set would yield output similar to the following IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION --------------------------------------------------------------------- 192.168.35.10 MINESET-TEST1 [DMVENGR] 192.168.35.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2.0.6] 192.168.35.56 HERBNT2 [HERB-NT] 192.168.35.63 GANDALF [MVENGR] [Unix] [Samba 2.0.5a for IRIX] 192.168.35.65 SAUNA [WORKGROUP] [Unix] [Samba 1.9.18p10] 192.168.35.71 FROGSTAR [ENGR] [Unix] [Samba 2.0.0 for IRIX] 192.168.35.78 HERBDHCP1 +[HERB] 192.168.35.88 SCNT2 +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0] 192.168.35.93 FROGSTAR-PC [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager] 192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0] VERSION
This man page is correct for version 3 of the Samba suite. SEE ALSO
nmbd(8), smbclient(1), and nmblookup(1) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 FINDSMB(1)
All times are GMT -4. The time now is 11:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy