Questions tagged [pppoe]

Point-to-Point Protocol over Ethernet(pppoe) is a transport protocol used to bridge Ethernet packets over the telephone network for DSL lines.

36 questions
11
votes
2 answers

Parsing PPPoE Tags with Scapy

I am trying to correctly dissect PPPoE Discovery packets with Scapy. Here's how Scapy displays example PADI packet: >>> p =…
thor
  • 2,204
  • 3
  • 20
  • 23
3
votes
2 answers

Redialing a PPPOE connection programmatically

I have a PPPOE connection on a computer. That computer has two LAN cards and I activated ICS on it. The problem is, the connection kinda degrades over time (don't know why), and a redial would be nice, hourly maybe. I was thinking of writing an…
Geo
  • 93,257
  • 117
  • 344
  • 520
2
votes
2 answers

Can I use pppoe in docker container?

I hava lots of pppoe accounts and want to build a small spider-network with them. So, I want to use docker to virtualize multiple centos methine and do pppoe dialup within. My methine has two adapter, em1 for pppoe dialup and em2 has a static ip…
Micr
  • 161
  • 2
  • 10
2
votes
2 answers

How to through NAT with PPPoE?

I want to create a route server to proxy some clients(they may not in the same intranet) to access internet. I need to assign unique ip to the client and get the ip when packets response,so I can do some monitor task. i want to know if I use PPPoE…
why
  • 23,923
  • 29
  • 97
  • 142
2
votes
1 answer

How to create a pppoe connection for wired ethernet (ieee 802.3) in android?

I have an android 2.3 tablet featuring a host usb port. I also have a ethernet adapter that connects to usb. My device supports ethernet facility as it is visible from settings menu. Only problem is there is no way I can " create a connection" to…
1
vote
0 answers

Golang PPPoE code returns UnknownPPPoECode even though I specified a valid PADI code for the struct

This is how I create a default PPPoE packet. Here, I'm setting the code byte as 0x09 that means PADI packet. func createDefaultPPPoE(code layers.PPPoECode) layers.PPPoE { return layers.PPPoE{ Version: 0x1, …
baris
  • 157
  • 1
  • 9
1
vote
0 answers

How to add PPPoE tag to a PADI packet using Go?

This is how I create a PADI packet using google/gopacket library. func createDefaultPADI() layers.PPPoE { return layers.PPPoE{ Version: 0x1, Type: 0x1, Code: layers.PPPoECodePADI, SessionId: 0x0000, …
baris
  • 157
  • 1
  • 9
1
vote
2 answers

what is the exact difference between Closed and Stopped State in PPP State machine

I wanted to know what is the exact difference between Closed and Stopped State in PPP State machine. It would be great full if someone explain in detail. I am designing ppp stack using C++. Thanks a lot in advance.
Priyanka Mishra
  • 10,400
  • 18
  • 62
  • 75
1
vote
0 answers

The useage of PPPoED_Tags in scapy

I want to create a PPPOE packet , now i have a problem about the useage of PPPoED_Tags. You can see as follows: The tips is as follows, but i just can not understand it So I want to know how to transfer parameters. Thanks in advance
BeQuite
  • 11
  • 2
1
vote
1 answer

Can I send non-IP packets using Winsock?

I'm trying to create a small PPPoE Access Concentrator to learn the inner workings of PPPoE. This requires me to send non-IP packets, I need to be able to set the ETHER_TYPE and eventualy the destination mac fields in the ethernet frame header, but…
1
vote
1 answer

How to retrieve the mikrotik PPPoE server service name list by using the mikrotik API?

I want to retrieve the mikrotik PPPoE server service name list by using the mikrotik API and loop through all of the service names over a select menu. I have done the code myself. The code looks like below: $ctype…
1
vote
1 answer

C# howto Create Network Dialer shortcut on desktop

I have created a code in Visual C# using DOTRAS library, which creates pppoe dialer in network connection. But I am unable to figure out how to create the dialer shortcut on the desktop. I know in general howto create application shortcut in c# but…
Syed Jahanzaib
  • 333
  • 6
  • 18
1
vote
0 answers

Visual Studio Emulator for Android - connect to internet via PPPoE

I can't figure out how to connect Visual Studio Emulator to PPPoE Internet connection. I have Wireless network and WAN Miniport PPPOE connection. When I run android emulator I'm unable to connect on PPPOE. Everything works if I use Wifi network…
mdieod
  • 49
  • 2
  • 12
1
vote
1 answer

How to set SubType PPPoE Required for PPP over Ethernet services on OSX

Mac OSX - OS - Network I want to create a pppoe network interface in the networkset with SCNetworkConfiguration API, but I did many times for it just create modem interface. Anyone get the same problem or have a solution about it? Thanks Happy new…
cppfun
  • 21
  • 3
1
vote
0 answers

run a .bat file without being logged in to windows account

I would like to connect my dial up broadband pppoe when my system starts without logging into my account on windows 8.1, I have successfully running some other programs like team viewer apache, mysql, filezilla server using windows task scheduler.…
Yan Khan
  • 49
  • 1
  • 9
1
2 3