Latest Entries »
Sympthoms:
i) after a kernel upgrade, usb devices don’t work on system boot: “error”, “usb”, “descriptors file” shows up when detaching the usb device.
Solution:
i) Boot into fallback mode (initramfs). usb devices should work.
ii) Edit /etc/default/grub
and append your kernel options to the GRUB_CMDLINE_LINUX_DEFAULT
line:
-
-
GRUB_CMDLINE_LINUX_DEFAULT="/boot/vmlinuz-linux root=UUID=XXXXXXXX rw cryptdevice=/XXXXXX quiet"
-
replace the XXXX of this line with the information found in the fallback initramfs section of /boot/grub/grub.cfg
iii) regenerate grub config :
# grub-mkconfig -o /boot/grub/grub.cfg
iv) regenerate mkinitcpio
# mkinitcpio -p linux
v) reboot your system.
From https://forum.openwrt.org/viewtopic.php?id=19640
[quote]
Restart router in failsafe mode (differs by router, but for the WRT54GL and other linksys):
1. restart router, when DMZ light comes on, hold reset for 3 seconds until DMZ light starts flashing.
2. at this point connect computer directly to port 1 on router.
3. give computer static ip of 192.168.1.155.
4. restart networking on computer.
5. run: telnet 192.168.1.1 -l root
Run ‘firstboot’
Run ‘sync’
Run ‘passwd’ to reset root password.
Fix computer networking and restart the router.
Now log in as normal.
[/quote]
to get static ip with ip tools:
[quote]
Manual assignment
Enable the network interface:
# ip link set interface up
Assign a static IP address in the console:
# ip addr add IP_address/subnet_mask broadcast broadcast_address dev interface
For example:
# ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev interface
For more options, see man ip.
Add your gateway IP address like so:
# ip route add default via default_gateway
For example:
# ip route add default via 192.168.1.1
[/quote]
Lyrics
Wind on the move
A loving embrace
As we walk down old Chinatown
Looked in your eyes
And studied your face
As my world came tumbling down
With half a truth and smiling scars
You know you know there’s more to you and me and us girl
So you’ll never be the same no matter where you are
And we go and we go
Sometimes high sometimes low
Making choices we’ll always regret
But I’ll always remember the cold Chinatown night we had
A memory of pavement and skin
Under light of the digital skies
A cigarette indelible sin
And I can’t get you out of my mind
With half a truth and smiling scars
You know you know there’s more to you and me and us girl
So you’ll never be the same no matter where you are
And we go and we go
Sometimes high sometimes low
Making choices we’ll always regret
But I’ll always remember the cold Chinatown night we had
Wait for the harrowing hour
You’ll see what could’ve been ours
You won’t forget about me
Sure as the sun and the sea
And we go and we go
Sometimes high sometimes low
Making choices we’ll always regret
But I’ll always remember the cold Chinatown night we had
And we go and we go
Sometimes high sometimes low
Making choices we’ll always regret
But I’ll always remember the cold Chinatown night we had
[Lyrics to Chinatown by Starcadian]