macsat.com OpenWrt and ASUS WL Forum
January 08, 2009, 13:47:25 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Back to
macsat.com
Home
Help
Search
Login
Register
macsat.com OpenWrt and ASUS WL Forum
>
OpenWrt (White Russian)
>
OpenWRT
>
Setting Up VLAN on WL-500gP
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Setting Up VLAN on WL-500gP (Read 1449 times)
0 Members and 1 Guest are viewing this topic.
ScarEye
Newbie
Offline
Posts: 13
Setting Up VLAN on WL-500gP
«
on:
April 07, 2007, 01:14:59 AM »
Hey guys I have a a WL-500gP and I would like to setup a VLAN so my router's main ip is 192.168.1.1
I would like to create 192.168.2.1 on Port 2 of the router ? Anyone know how I can do this or know
of a site that would have this information available for a newb. Like a step by step thing ?
Thanks for your time,
ScarEye
PS, I am running White Russian 0.9.
Thanks
Logged
ScarEye
Newbie
Offline
Posts: 13
Re: Setting Up VLAN on WL-500gP
«
Reply #1 on:
April 07, 2007, 03:55:07 AM »
Answer:
http://wiki.openwrt.org/OpenWrtNVRAM
Logged
ScarEye
Newbie
Offline
Posts: 13
Re: Setting Up VLAN on WL-500gP
«
Reply #2 on:
April 07, 2007, 04:24:10 AM »
The only thing I can't find YET, is how can I automate the ifup command for the
second connection.
ifup mylan
How can I automate this at startup ?
Thanks
ScarEye
«
Last Edit: April 07, 2007, 04:32:51 AM by ScarEye
»
Logged
ScarEye
Newbie
Offline
Posts: 13
Re: Setting Up VLAN on WL-500gP
«
Reply #3 on:
April 07, 2007, 04:32:07 AM »
Answer:
Modify /etc/init.d/S40network
#!/bin/sh
case "$1" in
start|restart)
rm -f /tmp/resolv.conf
ln -s /tmp/resolv.conf.auto /tmp/resolv.conf
ifup_interfaces=$(nvram get ifup_interfaces)
ifup_interfaces=${ifup_interfaces:-"lan wan wifi port4"} <---- (PORT4 IS MY NEW VLAN2 CONNECTION)
for iface in $ifup_interfaces; do
ifup $iface
if [ "$iface" = "wifi" ]; then
$iface up
fi
done
;;
esac
Hopefully this might help someone out.
Thanks
ScarEye
Logged
macsat
Administrator
Sr. Member
Offline
Posts: 1,104
Re: Setting Up VLAN on WL-500gP
«
Reply #4 on:
April 07, 2007, 11:47:33 AM »
All it takes from my side it so be slow to answer, and you'll figure it out yourselves ;-)
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
ASUS WL 500-g WL-500gx WL-300g and WL-HDD help
-----------------------------
=> Misc. Talk
=> Talk about macsat.com
-----------------------------
Oleg's Firmware
-----------------------------
=> Oleg's Firmware
=> Tutorials
-----------------------------
OpenWrt (White Russian)
-----------------------------
=> OpenWRT
=> DD-WRT
=> Tutorials
-----------------------------
OpenWrt Kamikaze
-----------------------------
=> Firmware
=> Tutorials
-----------------------------
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible
-----------------------------
=> Firmware
Loading...