Note to people: It's always better to send a reply me on the list if I
answered a question on the list unless specifically asked to send it
direct.
> > Is the port set to type network? What does the user table entry show?
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - the port S1 with the modem is set to "Network/Login" and
> - user table is set with one "login+password" only, actually:
For the port look at:
http://www.livingston.com/tech/technotes/200/220003.html
1.Set the port type to "network" which means PPP or SLIP rather than a
shell account. And set the port for dial-in.
set s1 network 2
# Set the port for network 2
2.Set the port speed to match the speed of the modem
connected to that port. This is the speed between the PortMaster and the
modem.
set s1 speed 115200
# Set the port speed
set s1 speed 2 115200
set s1 speed 3 115200
3.Set the flow control. When talking to a modem the
serial ports should be configured to hardware flow control.
set s1 rts/cts on
# Set the port for hardware flow control
set s1 xon/xoff off
4.Set modem control on to enable handshaking between the
modem and the port.
set s1 modem on
# Set modem control on
5.Extras. The following commands can be used to display
more information in the show command or to set the port up for RADIUS.
set s1 extended on
# Displays more information with the show command.
set s1 security on
# To set port up for RADIUS
Example of what a port will look like:
Command> show s1
--------------- Current Status - Port S1 --------------
Status: IDLE
Input: 9582 Parity Errors: 0
Output: 3336 Framing Errors: 0
Pending: 0 Overrun Errors: 0
Modem Status: DCD- CTS+
Active Configuration Default Configuration
------------------- ---------------------
Port Type: Netwrk Netwrk (Dial In) (Security)
Baud Rates: 115200 115200,115200,115200
Flow Control: RTS/CTS RTS/CTS
Modem Control: on on
Interface: ptp2 (PPP,Routing,Compress)
Mtu: 0 1500
Async Map: L:00000000 R:00000000 00000000
Dial Group: 0
Command>
> PM-OCA-Nice> show table user ==>
> Netmask/
> Name Type Address/Host Service RIP
> -------- ---------------- ------------------- ---------- ---
> pierre Login User default PortMaster
Bingo! This user is a login user and not a network user. try:
http://www.livingston.com/tech/technotes/200/200002.html
SUMMARY:
To add a PPP dialup user to the PortMaster user table from the prompt do
the following. Be aware that the PortMaster user table will only hold
about 100 users before memory fills up. For large numbers of users run
RADIUS.
BEFORE YOU START:
First, make sure that the ports are configured for network dialup.
ADDING A NETUSER:
add netuser [username] [attribute] [value]
[attribute] [value]
example:
add netuser testuser password xyzzy address assigned netmask
255.255.255.0 protocol ppp mtu 1500
These attributes can be applied to the user individually as well:
add netuser testuser
set user testuser password xyzzy
set user testuser address assigned
set user testuser netmask 255.255.255.0
set user testuser protocol ppp
set user testuser mtu 1500
-----
Thomas C Kinnen - <tkinnen@livingston.com> <tkinnen@sobhrach.com>
[RADIUS Test Engineer] - LUCENT Technologies RABU
"All of the opinions stated above are my own and not my employer's,
unless they were given to me by my employer"
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>