User Tools

Site Tools


tips:linux:cisco675:modem

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:linux:cisco675:modem [2009/06/08 08:03] (current)
erik created
Line 1: Line 1:
 +====== Modem Configuration ======
  
 +Clear password:
 +<​code>​
 +enable
 +set password enable clear
 +set password exec clear
 +</​code>​
 +
 +Erase current configuration:​
 +
 +<​code>​
 +enable
 +set nvram erase
 +write
 +reboot
 +</​code>​
 +
 +Set bridging mode:
 +
 +<​code>​
 +enable
 +set bridging rfc1483 enable
 +write
 +reboot
 +</​code>​
 +
 +Set PPP mode:
 +
 +<​code>​
 +enable
 +
 +set password enable <​enable-password>​
 +set password exec <​exec-password>​
 +
 +set ppp wan0-0 ipcp 0.0.0.0
 +set ppp wan0-0 dns 0.0.0.0
 +set ppp wan0-0 login <​ppp-user-id>​
 +set ppp wan0-0 password <​ppp-password>​
 +set ppp restart enabled
 +
 +set int vip0 ip <​gateway/​router-ip-address>​
 +set int vip0 mask 255.255.255.248
 +
 +set nat enable
 +</​code>​
 +
 +Turn off Web server:
 +
 +<​code>​
 +set web disabled
 +set web port 6666
 +set web remote <​remote-ip>​
 +</​code>​
 +
 +Turn on TFTP server:
 +
 +<​code>​
 +set tftp enabled
 +set tftp remote <​remote-ip>​
 +</​code>​
 +
 +Enable DHCP server (optional):
 +
 +<​code>​
 +set dhcp server enable
 +</​code>​
 +
 +Save new configuration:​
 +
 +<​code>​
 +write
 +reboot
 +</​code>​
tips/linux/cisco675/modem.txt · Last modified: 2009/06/08 08:03 by erik