Ifup command

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 01:31, 11 June 2005 (edit)
65.28.7.147 (Talk)
(Current Status)
← Previous diff
Current revision (19:17, 8 May 2010) (edit) (undo)
Glenn (Talk | contribs)
(catchg)
 
(26 intermediate revisions not shown.)
Line 1: Line 1:
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Telnet/SSH and the Command Line]]'''/'''[[ifup command]]'''+You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[Index:Scripting|Scripting]] / [[Telnet/SSH_and_the_Command_Line|SSH/Telnet & The CLI]] / ifup '''
=Current Status= =Current Status=
Line 7: Line 7:
''ifup'' doesn't actually configure the interface, but accesses the [[ifconfig command|ifconfig]] and other commands. ''ifup'' doesn't actually configure the interface, but accesses the [[ifconfig command|ifconfig]] and other commands.
-There's an example interface file that we could probrably save to /jffs/etc/network/interfaces and use the command+There's an example interface file that we could probably save to /jffs/etc/network/interfaces and use the command
ifup -i /jffs/etc/network/interfaces ''commands'' ifup -i /jffs/etc/network/interfaces ''commands''
The OpenWRT ''interfaces'' file can be found here: The OpenWRT ''interfaces'' file can be found here:
-http://openwrt.org/CentralNvramMaps/EtcNetworkInterfaces?highlight=%28interfaces%29+http://openwrt.org/CentralNvramMaps/EtcNetworkInterfaces?highlight=(interfaces)
-=External Resources=+[[Category:Command-line reference]]
-'''You are here: ''' '''[[Main Page]]'''/'''[[DD-WRT Docu (EN)]]'''/'''[[Telnet/SSH and the Command Line]]'''/'''[[ifup command]]'''+

Current revision

You are here: DD-WRT wiki mainpage / Scripting / SSH/Telnet & The CLI / ifup

[edit] Current Status

Since the /etc/network/interfaces file that OpenWRT has, doesn't exist in DD-WRT, we can't use the command

ifup interface

ifup doesn't actually configure the interface, but accesses the ifconfig and other commands.

There's an example interface file that we could probably save to /jffs/etc/network/interfaces and use the command

ifup -i /jffs/etc/network/interfaces commands

The OpenWRT interfaces file can be found here: http://openwrt.org/CentralNvramMaps/EtcNetworkInterfaces?highlight=(interfaces)