metamorphose
08-12-2008, 20:14
Hi,
I met following problem:
- I cannot access Internet on my PC via WL-700gE, but the router can (rtoerrent works, ping works etc.)
- if I release command ifup lan, I get this error message:
"/sbin/ifup: export: 5: CONFIG_--help_ifname: bad variable name"
What can cause this?
Here is my /sbin/ifup:
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
. /sbin/ifdown "$@"
config_get iftype "$1" type
config_get ifname "$1" device
for dev in $ifname; do
setup_interface "$dev" "$1"
done
Otherwise ifdown command returns the same error message.
I met following problem:
- I cannot access Internet on my PC via WL-700gE, but the router can (rtoerrent works, ping works etc.)
- if I release command ifup lan, I get this error message:
"/sbin/ifup: export: 5: CONFIG_--help_ifname: bad variable name"
What can cause this?
Here is my /sbin/ifup:
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
. /sbin/ifdown "$@"
config_get iftype "$1" type
config_get ifname "$1" device
for dev in $ifname; do
setup_interface "$dev" "$1"
done
Otherwise ifdown command returns the same error message.