@DavidMcWRT
Actually openwrt is the old theme, bootstrap is the new one...
nitroshift
The content of this topic has been archived between 16 Sep 2014 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.
@DavidMcWRT
Actually openwrt is the old theme, bootstrap is the new one...
nitroshift
@DavidMcWRT
Actually openwrt is the old theme, bootstrap is the new one...
nitroshift
whoops, yes, got them round the wrong way!
Thanks!
Hi. First of all the usual thanks to all the volunteers who are making this awesome box working.
I am running a self compiled trunk version. Still testing and experimenting on it.
Since it is supposed to provide my internet connection from vlan provided connection I am wondering what the status of the switch is. I do not see the switch option in Luci. Does this mean the switch is not working?
In an attempt to some discover switch information I issued the commands:
swconfig list
swconfig dev switch0 show
These do show some info but it is not clear to me if the switch is working.
Is there anyone who can shed some light on the switch support status?
The switch is working, with one important caveat: the driver doesn't support tagged and untagged frames on the same interface, yet.
LuCI might not be aware of it yet because it's not added to /etc/config/network by default. There was a patch, http://patchwork.ozlabs.org/patch/428217/ but that was not merged and isn't the way I would prefer to set up the switch now.
Try adding the following to /etc/config/network:
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6'
(Last edited by leitec on 8 Feb 2015, 18:06)
Please forgive me if i come off as rude.
I've spent past 4 hours trying to figure out how to use usb storage as the main storage on the router so that when i install opkg packages, i dont run of space.
Either im a total idiot or the wiki is really confusing.
Im running MCWRT. I have attached a usb flash stick to the router, which is being mounted. it has two partitions but for now im only trying to use /dev/sda2 as my storage space.
i cant figure out what are the various methods i.e "pivot overlay" vs "pivot root" ?
Do i understand correct that with pivot root i need to copy the current / files to the usb /dev/sda if im to treat that as the new / ?
i have tried various settings in the fstab but i keep getting
Filesystem Size Used Available Use% Mounted on
rootfs 30.8M 28.3M 868.0K 97% /
/dev/root 37.0M 21.1M 15.9M 57% /rom
devtmpfs 123.6M 0 123.6M 0% /dev
tmpfs 123.7M 372.0K 123.3M 0% /tmp
ubi0:syscfg 30.8M 28.3M 868.0K 97% /tmp/syscfg
ubi0:syscfg 30.8M 28.3M 868.0K 97% /overlay
overlayfs:/overlay 30.8M 28.3M 868.0K 97% /
/dev/sda2 138.5M 6.9M 124.5M 5% /tmp/overlay-disabled
/dev/sda1 1.7G 92.4M 1.6G 5% /mnt/sda1
cat /etc/config/fstab
config mount
option target /overlay
option device /dev/sda2
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config global 'automount'
option from_fstab '1'
option anon_mount '1'
config global 'autoswap'
option from_fstab '1'
option anon_swap '0'
All i want is that opkg installs by default in the new storage. From what i understand its best to use usb as the /
please i can really use some help.
Would this also mean that if i were to unplug the usb the router would fail to boot or something as it wont find /
Thanks a lot. It worked flawlessy and I can configure now my telenet TV digicorders !
The switch is working, with one important caveat: the driver doesn't support tagged and untagged frames on the same interface, yet.
LuCI might not be aware of it yet because it's not added to /etc/config/network by default. There was a patch, http://patchwork.ozlabs.org/patch/428217/ but that was not merged and isn't the way I would prefer to set up the switch now.
Try adding the following to /etc/config/network:
config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '0 1 2 3 5' config switch_vlan option device 'switch0' option vlan '2' option ports '4 6'
Does trunk have?
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq
stress --cpu 1 --timeout 60
stress --cpu 2 --timeout 60
echo 0 > /sys/devices/pwm_fan/hwmon/hwmon0/pwm1
echo 255 > /sys/devices/pwm_fan/hwmon/hwmon0/pwm1
sensors
Also whats the latest reversion number?
(Last edited by gufus on 8 Feb 2015, 23:04)
Does trunk have?
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq
stress --cpu 1 --timeout 60
stress --cpu 2 --timeout 60
echo 0 > /sys/devices/pwm_fan/hwmon/hwmon0/pwm1
echo 255 > /sys/devices/pwm_fan/hwmon/hwmon0/pwm1sensors
Also whats the latest reversion number?
Just completed sysupgrade 5 min ago:
Firmware Version OpenWrt Chaos Calmer r44316 / LuCI (git-15.037.36178-4ba597b)
Kernel Version 3.18.5
Thx
Does MCWRT even support using usb storage as extroot?
the link for the CC snapshot on the wiki is not working at http://wiki.openwrt.org/toh/linksys/wrt1900ac
I'm running trunk 44296 and last week I changed the 2.4 channel to dual channel (HT40-). My observation over the weekend is that the Apple "Freeze issue" is less frequent and when they happen, they only pause shortly.
@LogicoZone
I have exactly the same problems in regards to usb mounts, not sure this is reported yet
root@OpenWrt:/dev# block mount
block: /dev/ubi0_1 is already mounted
block: mounting /dev/sda1 (ext4) as /mnt/sda1 failed (-1) - Unknown error -1
the link for the CC snapshot on the wiki is not working at http://wiki.openwrt.org/toh/linksys/wrt1900ac
Looks like the new links are:
https://downloads.openwrt.org/snapshots … actory.img
https://downloads.openwrt.org/snapshots … pgrade.tar
for full install and sysupgrade images respectively.
Also looks like the packages paths needs changing too from:
http://downloads.openwrt.org/snapshots/ … /packages/<whatever>
to
http://downloads.openwrt.org/snapshots/ … /packages/<whatever>
can someone please update the wiki
(Last edited by DavidMcWRT on 9 Feb 2015, 13:01)
kernel now 3.18.6 as of r44318
alirz wrote:the link for the CC snapshot on the wiki is not working at http://wiki.openwrt.org/toh/linksys/wrt1900ac
can someone please update the wiki
Updated
tombo wrote:I have already tried procedure to restore previous firmware, but router don’t respond to the reset button.
Therefore, my only option is USB to TTL adapter cable. I'm immediately ordering one.
Thanks’ for the replay.Exactly the same problem here. Will need to do the same
I tried todays CC snapshot and it bricked my router as again. At least this time I didn't have to do the whole u-boot install thing.
Is it just me not holding my mouth straight? While watching it through the serial port, It booted up to a point where it said "Kernel Panic". I'm assuming this is bad.
@speedandy
You must be doing something wrong. Since I've had issues with my first device (see pages ~50 of this topic), I never managed to brick it again.
nitroshift
@speedandy
I found that its possible doing upgrades from one build to another with save settings checked it will brick the router. As long as the save settings was not checked I could not brick it. Possible that is the issue?
Latest build from snapshot: https://downloads.openwrt.org/snapshots … u/generic/
is Kernel Version 3.18.6
dpdurst wrote:@speedandy
I found that its possible doing upgrades from one build to another with save settings checked it will brick the router. As long as the save settings was not checked I could not brick it. Possible that is the issue?
You can brick the router using both ways depending on the trunk you would use. Just do it through original Linksys firmware cycle. Using sysupgrade.tar files never bricked mine even with "save settings' checked.
I went through a slew of flashing different builds when I bricked mine and found the only way to duplicate it was saving the settings. I flashed any way I could find between builds without saving settings and never had the issue again.
Using the sysupgrade never gave a problem either, but I was not testing that as it was before the sysupgrade was available.
(Last edited by dpdurst on 10 Feb 2015, 07:23)
Telnet in then? /etc/shadow and /etc/passwd will have been wiped as well.
After a clean install (which you did, basically) you need to telnet in to set a password.
@nitroshift
Well done! How is 3.19.0 working?
Charlie
@cblackxyzzy
So far it's stable, no modification wifi-wise though as it's using the same driver released 2 months ago.
nitroshift
Does trunk have?
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq
stress --cpu 1 --timeout 60
stress --cpu 2 --timeout 60
echo 0 > /sys/devices/pwm_fan/hwmon/hwmon0/pwm1
echo 255 > /sys/devices/pwm_fan/hwmon/hwmon0/pwm1sensors
Also whats the latest reversion number?
I'm now on the latest snapshot (Feb 10 08:21):
OpenWrt Chaos Calmer r44371 / LuCI (git-15.040.55811-ec1a869)
Kernel Version 3.18.6
and in answer to your above question:
yes to everything EXCEPT - NO STRESS, NO SENSORS.
However, the /sbin/fan_ctrl.sh is in there and is in cron, and you can manually check the temps by using these commands from the script:
cut -c1-2 /sys/class/hwmon/hwmon2/temp1_input
cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input
cut -c1-2 /sys/class/hwmon/hwmon1/temp2_input
(cpu, ddr and wifi respectively)
(Last edited by DavidMcWRT on 10 Feb 2015, 19:30)