Jump to content

Shame On Me


httpCRASH
 Share

Recommended Posts

i upgraded my mk4, and forgot to take a copy of my conf files.

im using a huawei e180 3g modem, with a micro sd card as swap and storage.

i found someone in the forums who uses the same type of modem, so got the 3g part down.

but the sd card is not auto mounting, and in /dev sda1 and sda2 is not showing up, only sda.

now i tried the bellow, and look there, mounted, and sda1 and sda2 now showing up in /dev

root@Pineapple:~# df -h

Filesystem Size Used Available Use% Mounted on

rootfs 1.1M 284.0K 868.0K 25% /

/dev/root 5.0M 5.0M 0 100% /rom

tmpfs 14.4M 88.0K 14.3M 1% /tmp

tmpfs 512.0K 0 512.0K 0% /dev

/dev/mtdblock3 1.1M 284.0K 868.0K 25% /overlay

overlayfs:/overlay 1.1M 284.0K 868.0K 25% /

root@Pineapple:~# mount /dev/sda /usb/

mount: mounting /dev/sda on /usb/ failed: Invalid argument

root@Pineapple:~# df -h

Filesystem Size Used Available Use% Mounted on

rootfs 1.1M 284.0K 868.0K 25% /

/dev/root 5.0M 5.0M 0 100% /rom

tmpfs 14.4M 88.0K 14.3M 1% /tmp

tmpfs 512.0K 0 512.0K 0% /dev

/dev/mtdblock3 1.1M 284.0K 868.0K 25% /overlay

overlayfs:/overlay 1.1M 284.0K 868.0K 25% /

/dev/sda1 6.6G 250.2M 6.0G 4% /usb

root@Pineapple:~#

so what can i have forgotten in my new configs?

Link to comment
Share on other sites

When in doubt... pull your UART out. :D

Clean flash-

http://www.ebay.com/...=item1e6d5ebbc3

haha, yeah, that is always a fun way to spend the afternoon, but i dont think that will do much here, as the router is not bricked, and has just been updated to the latest firmware (everything else seems to work fine), so its standart configs and clean install already :D

Link to comment
Share on other sites

what about your fstab ? this works for me.

config global automount

option from_fstab 1

option anon_mount 1

config global autoswap

option from_fstab 1

option anon_swap 1

config mount

option target /usb

option device /dev/sda

option fstype ext4

option options rw,sync

option enabled 1

option enabled_fsck 0

config mount

option target /usb

option device /dev/sda1

option fstype ext4

option options rw,sync

option enabled 1

option enabled_fsck 0

config swap

option device /dev/sda2

option enabled 1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...