Fixed typos
This commit is contained in:
16
README.md
16
README.md
@@ -41,21 +41,21 @@ and
|
||||
|
||||
```
|
||||
# Secrets for authentication using CHAP
|
||||
# client server secret IP addresses
|
||||
# client server secret IP addresses
|
||||
"NAME.SURNAME@tiscali.it" * "123456"
|
||||
```
|
||||
|
||||
(replace 123456 with your password)
|
||||
|
||||
Finally you can switch on the service like:
|
||||
Finally you can switch on the service with:
|
||||
|
||||
```
|
||||
ppp call tiscali
|
||||
```
|
||||
|
||||
you can use `journalctl -f` and check whether things are going fine.
|
||||
and then use `journalctl -f` to check whether things are going fine.
|
||||
|
||||
Systemd automatization can be created with the help of [these scripts](https://gitlab.com/jimdigriz/debian-clearfog-gt-8k/-/blob/master/README.md).
|
||||
Systemd automation can be created with the help of [these scripts](https://gitlab.com/jimdigriz/debian-clearfog-gt-8k/-/blob/master/README.md).
|
||||
|
||||
## Long Story
|
||||
|
||||
@@ -86,7 +86,7 @@ The approach is [like this](https://wiki.wireshark.org/CaptureSetup/Ethernet#cap
|
||||
|
||||
|
||||
|
||||
The packets captured just after switching on the ZTE H388X are shown here:
|
||||
The packets captured just after powering on the ZTE H388X are shown here:
|
||||
|
||||

|
||||
|
||||
@@ -96,12 +96,12 @@ There are basically three steps:
|
||||
* Yellow box: the PPP Initialization starts from the ZTE and is followed by an Offer from the Cisco server.
|
||||
* Green box: the authentication, with CHAP protocol.
|
||||
|
||||
When using `pppd` the first packet is a PADI, which looks exactly the same as the one in No. 7 above, except for the 802.1Q part shown by the blue arrow. That was indeed the trick: the server replies only is the PADI request comes from a VLAN with ID:835.
|
||||
When using `pppd`, the cleanup part is missing and the first packet is a PADI, which looks exactly like the one in packet No. 7 above, except for the 802.1Q part shown by the blue arrow. That was indeed the trick: the server replies only when the PADI request comes from a VLAN with ID 835.
|
||||
|
||||
Setting the PPP device to a newly created vlan with
|
||||
Creating the vlan with
|
||||
|
||||
```
|
||||
`ip link add link eth0 name eth0.835 type vlan id 835`
|
||||
```
|
||||
|
||||
makes the Cisco server happy and it promptly replies to our PADI packet.
|
||||
and setting it as the device for the PPP connection makes the Cisco server happy: it promptly replies to our PADI packet and the connection is setup in less than a second.
|
||||
Reference in New Issue
Block a user