Changeset 42358
- Timestamp:
- 2014-09-01T15:21:17+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/barrier_breaker/target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips
r37027 r42358 12 12 fi 13 13 14 ifname=eth0 14 if echo $RT3X5X | grep -q RT5350; then 15 # This is a dirty hack to get by while the switch 16 # problem is investigated. When VLAN is disabled, ICMP 17 # pings work as expected, but TCP connections time 18 # out, so telnetting in failsafe is impossible. The 19 # likely reason is TCP checksumming hardware getting 20 # disabled: 21 # https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg19870.html 22 swconfig dev rt305x set enable_vlan 1 23 swconfig dev rt305x vlan 1 set ports "0 6" 24 swconfig dev rt305x port 6 set untag 0 25 swconfig dev rt305x set apply 1 26 vconfig add eth0 1 27 ifconfig eth0 up 28 ifname=eth0.1 29 else 30 ifname=eth0 31 fi 15 32 } 16 33
Note: See TracChangeset
for help on using the changeset viewer.