Projekat

Općenito

Profil

Akcije

Podrška #11623

Zatvoren

sc_wl_hdd_1, ide disk, dodatni paketi trebaju ici na hdd

Dodano od Ernad Husremović prije više od 19 godina. Izmjenjeno prije oko 18 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
Završetak:
% završeno:

0%

Procjena vremena:

Opis

sc_wl_hdd_1, ide disk, dodatni paketi trebaju ici na hdd

ref. trac ticket: http://trac.sigma-com.net/sa-ScInfrastructure/ticket/535

Akcije #1

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# ipkg install kmod*ide*
Installing kmod-ide (2.4.30-brcm-3) to root...
Configuring kmod-ide
Successfully terminated.
Akcije #2

Izmjenjeno od Ernad Husremović prije više od 19 godina

podrška ext3 file sistemu

Installing kmod-ext3 (2.4.30-brcm-3) to root...
Configuring kmod-ext3
Successfully terminated.

Akcije #3

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# insmod ide-core
Using /lib/modules/2.4.30/ide-core.o
root@sc_wl_hdd_1:~# insmod ide-detect
Using /lib/modules/2.4.30/ide-detect.o
root@sc_wl_hdd_1:~# insmod ide-disk
Using /lib/modules/2.4.30/ide-disk.o
root@sc_wl_hdd_1:~# insmod wl
Using /lib/modules/2.4.30/wl.o
Warning: loading wl will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
insmod: A module named wl already exists
root@sc_wl_hdd_1:~# insmod jbd
Using /lib/modules/2.4.30/jbd.o
root@sc_wl_hdd_1:~# insmod ext3
Using /lib/modules/2.4.30/ext3.o
Akcije #5

Izmjenjeno od Ernad Husremović prije više od 19 godina

root disk je opet pun ko šipak moram nešto brisati

root@sc_wl_hdd_1:~# ipkg remove iptables-mod-conntrack
Removing package iptables-mod-conntrack from root...
Successfully terminated.
root@sc_wl_hdd_1:~# ipkg remove libncurses
Removing package libncurses from root...
Successfully terminated.

dobro sada može nekako ...

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.0M      1.0M         0 100% /rom
/dev/mtdblock/4           2.2M      1.8M    368.0k  84% /
none                      7.0M     40.0k      7.0M   1% /tmp

Akcije #6

Izmjenjeno od Ernad Husremović prije više od 19 godina

ovo je stanje /etc/ipkg.conf

src whiterussian http://downloads.openwrt.org/whiterussian/packages
src non-free http://downloads.openwrt.org/whiterussian/packages/non-free
dest root /
dest ram /tmp

Akcije #7

Izmjenjeno od Ernad Husremović prije više od 19 godina

gore nisam ovaj modul učitao

root@sc_wl_hdd_1:~# insmod pdc202xx_old

nakon toga dmesg

Journalled Block Device driver loaded
PDC20265: IDE controller at PCI slot 01:01.0
PCI: Enabling device 01:01.0 (0004 -> 0007)
PDC20265: chipset revision 2
PDC20265: not 100% native mode: will probe irqs later
PDC20265: ROM enabled at 0x000d0000
PDC20265: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
PDC20265: FORCING BURST BIT 0x00->0x01 ACTIVE
    ide0: BM-DMA at 0x0140-0x0147, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0x0148-0x014f, BIOS settings: hdc:pio, hdd:pio

Akcije #8

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# ls -l /etc/modules
lrwxrwxrwx    1 root     root           16 Jan  1  2000 /etc/modules -> /rom/etc/modules

izbrisao pa kreirao novi koji sadrži:

root@sc_wl_hdd_1:~# cat /etc/modules

wl
ide-core
pdc202xx_old
ide-detect
ide-disk
wl
jbd
ext3

Akcije #9

Izmjenjeno od Ernad Husremović prije više od 19 godina

našao ga je super

root@sc_wl_hdd_1:~# dmesg | grep hda
    ide0: BM-DMA at 0x0140-0x0147, BIOS settings: hda:pio, hdb:pio
hda: FUJITSU MHT2040AH, ATA DISK drive
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78140160 sectors (40008 MB) w/8192KiB Cache, CHS=77520/16/63, UDMA(100)
root@sc_wl_hdd_1:~#

Akcije #10

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# cat /proc/partitions

major minor  #blocks  name

   3     0   39070080 ide/host0/bus0/target0/lun0/disc
   3     1     248976 ide/host0/bus0/target0/lun0/part1
   3     2          1 ide/host0/bus0/target0/lun0/part2
   3     5   38821041 ide/host0/bus0/target0/lun0/part5
root@sc_wl_hdd_1:~#

Akcije #11

Izmjenjeno od Ernad Husremović prije više od 19 godina

particionirao disk

root@sc_wl_hdd_1:~# scp hernad@192.168.45.149:~/Desktop/openwrt/*fdisk* .
Password:
fdisk_2.12r-1_mipsel.ipk                      100%   39KB  38.9KB/s   00:00

root@sc_wl_hdd_1:~# ipkg install -d ram fdisk*ipk
Installing fdisk (2.12r-1) to ram...
Configuring fdisk
Successfully terminated.
root@sc_wl_hdd_1:~# ls /tmp/usr/sbin/fdisk
/tmp/usr/sbin/fdisk

root@sc_wl_hdd_1:~# /tmp/usr/sbin/fdisk /dev/ide/host0/bus0/target0/lun0/disc

The number of cylinders for this disk is set to 4864.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks  Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *           1          31      248976  83  Linux
/dev/ide/host0/bus0/target0/lun0/part2              32        4864    38821072+   5  Extended
/dev/ide/host0/bus0/target0/lun0/part5              32        4864    38821041  8e  Linux LVM

Command (m for help): d
Partition number (1-5): 5

Command (m for help): d
Partition number (1-5): 2

Command (m for help): d
Selected partition 1

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-4864, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-4864, default 4864):
Using default value 4864

Command (m for help): p

Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks  Id  System
/dev/ide/host0/bus0/target0/lun0/part1               1        4864    39070048+  83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
root@sc_wl_hdd_1:~#

Akcije #12

Izmjenjeno od Ernad Husremović prije više od 19 godina

e2fsprogs na root

root@sc_wl_hdd_1:~# ipkg install  e2fsprogs*
Installing e2fsprogs (1.38-1) to root...
Configuring e2fsprogs
Successfully terminated.

Akcije #13

Izmjenjeno od Ernad Husremović prije više od 19 godina

ponovio particioniranje

Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks  Id  System
/dev/ide/host0/bus0/target0/lun0/part1               1         123      987966  83  Linux
/dev/ide/host0/bus0/target0/lun0/part2             124        4864    38082082+  83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

znači imam dvije particije - prva mi je za fajl sistem a druga za podatke

Akcije #14

Izmjenjeno od Ernad Husremović prije više od 19 godina

zaboravio sam swap particiju može mi zatrebati


Disk /dev/ide/host0/bus0/target0/lun0/disc: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                Device Boot      Start         End      Blocks  Id  System
/dev/ide/host0/bus0/target0/lun0/part1               1         123      987966  83  Linux
/dev/ide/host0/bus0/target0/lun0/part2             124         155      257040  82  Linux swap / Solaris
/dev/ide/host0/bus0/target0/lun0/part3             156        4864    37825042+  83  Linux

Command (m for help):

Akcije #15

Izmjenjeno od Ernad Husremović prije više od 19 godina

/etc/mtab

root@sc_wl_hdd_1:~# ln -s /proc/mounts /etc/mtab

napravoi file sistem

root@sc_wl_hdd_1:~# mkfs.ext3 /dev/ide/host0/bus0/target0/lun0/part1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
123648 inodes, 246991 blocks
12349 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
15456 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376

Writing inode tables: done
Creating journal (4096 blocks):
done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@sc_wl_hdd_1:~#
root@sc_wl_hdd_1:~# mkfs.ext3 /dev/ide/host0/bus0/target0/lun0/part3
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4734976 inodes, 9456260 blocks
472813 blocks (5.00%) reserved for the super user
First data block=0
289 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624

Writing inode tables: done
Creating journal (32768 blocks):
done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 35 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
root@sc_wl_hdd_1:~#

Akcije #16

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# mkdir /hd1
root@sc_wl_hdd_1:~# mkdir /hd3
root@sc_wl_hdd_1:~# mount /dev/ide/host0/bus0/target0/lun0/part1 /hd1
root@sc_wl_hdd_1:~# mount /dev/ide/host0/bus0/target0/lun0/part3 /hd3
root@sc_wl_hdd_1:~#
Akcije #17

Izmjenjeno od Ernad Husremović prije više od 19 godina

dodao sam /etc/ipkg.conf

dest hd /hd1

instaliram asterisk na hd (/hd1)

root@sc_wl_hdd_1:~# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages
Updated list of available packages in /usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/PackagesUpdated list of available packages in /usr/lib/ipkg/lists/non-free
Successfully terminated.

root@sc_wl_hdd_1:~# scp hernad@192.168.45.149:~/Desktop/openwrt/*asteri* .

Host '192.168.45.149' is not in the trusted hosts file.
(fingerprint md5 52:b0:83:4d:da:50:44:ea:65:f8:72:40:f8:de:22:90)
Do you want to continue connecting? (y/n) y
Password:
asterisk_1.0.10-1_mipsel.ipk                  100%  689KB 229.6KB/s   00:03
asterisk-modem.tar.gz                         100%   20KB  19.6KB/s   00:00
asterisk-sounds-1.2-ulaw.tar.gz               100% 5990KB 230.4KB/s   00:26
root@sc_wl_hdd_1:~# mkdir /hd1/tmp
root@sc_wl_hdd_1:~# cp asterisk-sounds*tar.gz /hd1/tmp
root@sc_wl_hdd_1:~# rm asterisk-sounds*tar.gz
root@sc_wl_hdd_1:~# ipkg install -d hd asterisk*ipk
Installing asterisk (1.0.10-1) to hd...
Installing libncurses (5.2-7) to hd...
Downloading http://downloads.openwrt.org/whiterussian/packages/libncurses_5.2-7_mipsel.ipk
Configuring asterisk
Configuring libncurses
Successfully terminated.
root@sc_wl_hdd_1:~#

Akcije #18

Izmjenjeno od Ernad Husremović prije više od 19 godina

dodao hd1 lokacije u path

root@sc_wl_hdd_1:~# rm /etc/profile
root@sc_wl_hdd_1:~# cp profile /etc/profile
root@sc_wl_hdd_1:~# cat /etc/profile
#!/bin/sh
[ -f /etc/banner ] && cat /etc/banner

PATH=bin:/sbin:/usr/bin:/usr/sbin:/
export PATH=$PATH:/hd1/bin:/hd1/sbin:/hd1/usr/bin:/hd1/usr/sbin:/hd1
export PS1='\u@\h:\w\$ '

alias less=more
alias vim=vi

arp() { cat /proc/net/arp; }
ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
reboot() { ifdown wan 2>&1 >/dev/null ; /sbin/reboot; }
root@sc_wl_hdd_1:~#

Akcije #19

Izmjenjeno od Ernad Husremović prije više od 19 godina

dodao i liniju (ispod export PS1 ...)

export LD_LIBRARY_PATH=/lib:/usr/lib:/hd1/lib:/hd1/usr/lib
Akcije #20

Izmjenjeno od Ernad Husremović prije više od 19 godina

mountaj hdd priliko boot-a

root@sc_wl_hdd_1:/etc# chmod +x mount_hdd
root@sc_wl_hdd_1:/etc# cat mount_hdd
/bin/mount /dev/ide/host0/bus0/target0/lun0/part1 /hd1
/bin/mount /dev/ide/host0/bus0/target0/lun0/part3 /hd3

root@sc_wl_hdd_1:/etc# cd init.d
root@sc_wl_hdd_1:/etc/init.d# ls
S05nvram     S45firewall  S50httpd     S60cron      asterisk
S10boot      S50dnsmasq   S50telnet    S70firewall  rcS
S40network   S50dropbear  S60asterisk  S99done
root@sc_wl_hdd_1:/etc/init.d# ln -s /etc/mount_hdd S15mount_hdd

Akcije #21

Izmjenjeno od Ernad Husremović prije više od 19 godina

ostalo je samo još da napravim swap (swap-utils paket) i e2fsck prilikom boot-a

Akcije #22

Izmjenjeno od Ernad Husremović prije više od 19 godina

hah asterisk radi fakat

root@sc_wl_hdd_1:~# asterisk -r
Asterisk 1.0.10, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
Connected to Asterisk 1.0.10 currently running on sc_wl_hdd_1 (pid = 673)
No entry for terminal type "xterm";
using dumb terminal settings.
sc_wl_hdd_1*CLI>

Akcije #23

Izmjenjeno od Ernad Husremović prije više od 19 godina

ipkg status mi pravi probleme:

root@sc_wl_hdd_1:~# ipkg remove ntpclient
Removing package ntpclient from root...
ipkg_conf_write_status_files: Can't open status file: //usr/lib/ipkg/status for writing: No space left on device
Successfully terminated.
root@sc_wl_hdd_1:~# ls /usr/lib/ipkg/status
/usr/lib/ipkg/status

root@sc_wl_hdd_1:~# ls /usr/lib/ipkg/status -l
-rw-r--r--    1 root     root         6041 Jan  1  2000 /usr/lib/ipkg/status
root@sc_wl_hdd_1:~# rm /usr/lib/ipkg/status

ali sada ne zna da je ntpclient uopšte instaliran

root@sc_wl_hdd_1:~# ipkg remove ntpclient
No packages removed.
Nothing to be done
Successfully terminated.

hm samo vodi one pakete koji su na hd-u instalirani

root@sc_wl_hdd_1:~# ipkg list_installed
asterisk - 1.0.10-1 - An open source PBX
isdn4k-utils - v3.2p1-1 -
kmod-usb-isdn - 2.4.30-brcm-2 -
libncurses - 5.2-7 - a terminal handling library and common terminal definitionsSuccessfully terminated.
root@sc_wl_hdd_1:~# ls /usr/sbin/nt*
ls: /usr/sbin/nt*: No such file or directory
root@sc_wl_hdd_1:~# ls /usr/bin/nt*
ls: /usr/bin/nt*: No such file or directory
root@sc_wl_hdd_1:~# ls /usr/sbin/nt*
ls: /usr/sbin/nt*: No such file or directory
root@sc_wl_hdd_1:~# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages
Updated list of available packages in /usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/PackagesUpdated list of available packages in /usr/lib/ipkg/lists/non-free
Successfully terminated.
root@sc_wl_hdd_1:~# ipkg list_installed
asterisk - 1.0.10-1 - An open source PBX
isdn4k-utils - v3.2p1-1 -
kmod-usb-isdn - 2.4.30-brcm-2 -
libncurses - 5.2-7 - a terminal handling library and common terminal definitionsSuccessfully terminated.
root@sc_wl_hdd_1:~# ipkg install -d hd ntpclient
Installing ntpclient (2003_194-2) to hd...
Downloading http://downloads.openwrt.org/whiterussian/packages/ntpclient_2003_194-2_mipsel.ipk
Configuring ntpclient
Successfully terminated.

Akcije #24

Izmjenjeno od Ernad Husremović prije više od 19 godina

hm malo sam zeznuo ipkg sistem ... ali nije bašt tako strašno

Akcije #25

Izmjenjeno od Ernad Husremović prije više od 19 godina

sambu instaliram

root@sc_wl_hdd_1:~# ipkg install -d hd samba*ipk
Installing samba-client (2.0.10-2) to hd...
Installing samba (2.0.10-2) to hd...
Installing libgcc (3.4.4-8) to hd...
Downloading http://downloads.openwrt.org/whiterussian/packages/libgcc_3.4.4-8_mipsel.ipk
Installing base-files (8) to hd...
Downloading http://downloads.openwrt.org/whiterussian/packages/base-files_8_mipsel.ipk
Configuring base-files
Configuring libgcc
Configuring samba
Configuring samba-client
Successfully terminated.
root@sc_wl_hdd_1:~#

Akcije #28

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:/hd1/usr/lib# ipkg -d hd install lsusb
Installing lsusb (0.71-1) to hd...
Downloading http://downloads.openwrt.org/whiterussian/packages/lsusb_0.71-1_mipsel.ipk
Installing libusb (0.1.10a-1) to hd...
Downloading http://downloads.openwrt.org/whiterussian/packages/libusb_0.1.10a-1_mipsel.ipk
Configuring libusb
Configuring lsusb
Successfully terminated.
Akcije #29

Izmjenjeno od Ernad Husremović prije više od 19 godina

/usr/share je sada na /hd1

root@sc_wl_hdd_1:/hd1/usr/share# cd /hd1/usr/share
root@sc_wl_hdd_1:/hd1/usr/share# mv defa* udhcpc
root@sc_wl_hdd_1:/hd1/usr/share# mv /usr/share /usr/share.orig
root@sc_wl_hdd_1:/hd1/usr/share# ln /hd1/usr/share  /usr/share ln: /usr/share: Invalid cross-device link
root@sc_wl_hdd_1:/hd1/usr/share# ln -s /hd1/usr/share  /usr/share
root@sc_wl_hdd_1:/hd1/usr/share#

Akcije #30

Izmjenjeno od Ernad Husremović prije više od 19 godina

čini mi se da usb modem nije uopšte detektovan

root@sc_wl_hdd_1:/hd1/usr/share# lsusb -v
root@sc_wl_hdd_1:/hd1/usr/share#

Akcije #31

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# ipkg install -force-depends kmod-usb-uhci
Installing kmod-usb-uhci (2.4.30-brcm-3) to root...
Downloading http://downloads.openwrt.org/whiterussian/packages/kmod-usb-uhci_2.4.30-brcm-3_mipsel.ipk
Installing kmod-usb-core (2.4.30-brcm-3) to root...
Downloading http://downloads.openwrt.org/whiterussian/packages/kmod-usb-core_2.4.30-brcm-3_mipsel.ipk
Configuring kmod-usb-core
Configuring kmod-usb-uhci
Successfully terminated.
Collected errors:
Warning: Cannot satisfy the following dependencies for kmod-usb-uhci:
         kernel (2.4.30-brcm-3) kernel (2.4.30-brcm-3)
root@sc_wl_hdd_1:~#
Akcije #32

Izmjenjeno od Ernad Husremović prije više od 19 godina

aha usb je na ohci interfejsu

root@sc_wl_hdd_1:~# insmod usb-ohci.o
Using /lib/modules/2.4.30/usb-ohci.o
root@sc_wl_hdd_1:~# dmesg
t 0x100-0x107,0x10a on irq 6
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78140160 sectors (40008 MB) w/8192KiB Cache, CHS=77520/16/63, UDMA(100)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: [PTBL] [4864/255/63] p1 p2 p3
Journalled Block Device driver loaded
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_conntrack_rtsp v0.01 loading
ip_nat_rtsp v0.01 loading
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: No Robo switch in managed mode found
Probing device eth2: [switch-robo.c:90] SIOCGETCPHYRD failed!
[switch-robo.c:90] SIOCGETCPHYRD failed!
No Robo switch in managed mode found
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
device eth0 entered promiscuous mode
jffs2: attempt to mount non-MTD device 03:01
SQUASHFS error: Can't find a SQUASHFS superblock on ide0(3,1)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
jffs2: attempt to mount non-MTD device 03:03
SQUASHFS error: Can't find a SQUASHFS superblock on ide0(3,3)
kjournald starting.  Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
b44: eth1: Link is up at 100 Mbps, full duplex.
b44: eth1: Flow control is off for TX and off for RX.
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
b44: eth1: Link is up at 100 Mbps, full duplex.
b44: eth1: Flow control is off for TX and off for RX.
device eth2 entered promiscuous mode
br0: port 1(eth2) entering learning state
br0: port 1(eth2) entering forwarding state
br0: topology change detected, propagating
device wds0.49153 entered promiscuous mode
wds0.49153: attempt to add interface with same source address.
br0: port 2(wds0.49153) entering learning state
br0: port 2(wds0.49153) entering forwarding state
br0: topology change detected, propagating
GRE over IPv4 tunneling driver
ISDN subsystem Rev: 1.137/1.104/1.153/none/1.24/1.8 loaded
HiSax: Linux Driver for passive ISDN cards
HiSax: Version 3.5 (module)
HiSax: Layer1 Revision 2.46
HiSax: Layer2 Revision 2.30
HiSax: TeiMgr Revision 2.20
HiSax: Layer3 Revision 2.22
HiSax: LinkLayer Revision 2.59
HiSax: Approval certification failed because of
HiSax: unauthorized source code changes
HFC-USB: driver module revision 4.0 loaded
usb.c: registered new driver hfc_usb
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB Universal Host Controller Interface driver v1.1
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:04.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:04.0-1, assigned address 2
HFC-USB: probing interface(0) actalt(0)
HFC-USB: found vendor idx:1  name:Billion tiny USB ISDN TA 128
HFC-USB: test alt_setting 0
HFC-USB: (if=0 alt=0 cfg_used=0)
HFC-USB: (if=0 alt=0 cfg_used=1)
HFC-USB: (if=0 alt=0 cfg_used=2)
HFC-USB: (if=0 alt=0 cfg_used=3)
HFC-USB: final small_match=ffff alt_used=0
HFC-USB: probing interface(1) actalt(0)
HFC-USB: found vendor idx:1  name:Billion tiny USB ISDN TA 128
HFC-USB: test alt_setting 0
HFC-USB: (if=1 alt=0 cfg_used=0)
HFC-USB: (if=1 alt=0 cfg_used=1)
HFC-USB: (if=1 alt=0 cfg_used=2)
HFC-USB: (if=1 alt=0 cfg_used=3)
HFC-USB: test alt_setting 1
HFC-USB: (if=1 alt=1 cfg_used=0)
HFC-USB: cfg_found=FALSE in idx:0  attr:3  cmptblr0:1
HFC-USB: cfg_found=FALSE in idx:2  attr:3  cmptblr2:1
HFC-USB: cfg_found=FALSE in idx:4  attr:3  cmptblr4:1
HFC-USB: cfg_found=FALSE in idx:9  attr:1  cmptblr9:1
HFC-USB: cfg_found=FALSE in idx:11  attr:1  cmptblr11:1
HFC-USB: cfg_found=FALSE in idx:13  attr:1  cmptblr13:1
HFC-USB: cfg_found=FALSE in idx:14  attr:1  cmptblr14:1
HFC-USB: cfg_found=FALSE in idx:15  attr:1  cmptblr15:1
HFC-USB: (if=1 alt=1 cfg_used=1)
HFC-USB: cfg_found=FALSE in idx:0  attr:3  cmptblr0:1
HFC-USB: cfg_found=FALSE in idx:2  attr:3  cmptblr2:1
HFC-USB: cfg_found=FALSE in idx:4  attr:3  cmptblr4:1
HFC-USB: cfg_found=FALSE in idx:6  attr:3  cmptblr6:1
HFC-USB: cfg_found=FALSE in idx:7  attr:3  cmptblr7:1
HFC-USB: cfg_found=FALSE in idx:9  attr:1  cmptblr9:1
HFC-USB: cfg_found=FALSE in idx:11  attr:1  cmptblr11:1
HFC-USB: cfg_found=FALSE in idx:13  attr:1  cmptblr13:1
HFC-USB: cfg_found=FALSE in idx:14  attr:1  cmptblr14:1
HFC-USB: cfg_found=FALSE in idx:15  attr:1  cmptblr15:1
HFC-USB: (if=1 alt=1 cfg_used=2)
HFC-USB: cfg_found=FALSE in idx:0  attr:3  cmptblr0:1
HFC-USB: cfg_found=FALSE in idx:1  attr:3  cmptblr1:1
HFC-USB: cfg_found=FALSE in idx:2  attr:3  cmptblr2:1
HFC-USB: cfg_found=FALSE in idx:3  attr:3  cmptblr3:1
HFC-USB: cfg_found=FALSE in idx:4  attr:3  cmptblr4:1
HFC-USB: cfg_found=FALSE in idx:5  attr:3  cmptblr5:1
HFC-USB: cfg_found=FALSE in idx:6  attr:3  cmptblr6:1
HFC-USB: cfg_found=FALSE in idx:7  attr:3  cmptblr7:1
HFC-USB: (if=1 alt=1 cfg_used=3)
HFC-USB: cfg_found=FALSE in idx:0  attr:3  cmptblr0:1
HFC-USB: cfg_found=FALSE in idx:1  attr:3  cmptblr1:1
HFC-USB: cfg_found=FALSE in idx:2  attr:3  cmptblr2:1
HFC-USB: cfg_found=FALSE in idx:3  attr:3  cmptblr3:1
HFC-USB: cfg_found=FALSE in idx:4  attr:3  cmptblr4:1
HFC-USB: cfg_found=FALSE in idx:5  attr:3  cmptblr5:1
HFC-USB: cfg_found=FALSE in idx:6  attr:3  cmptblr6:1
HFC-USB: cfg_found=FALSE in idx:7  attr:3  cmptblr7:1
HFC-USB: cfg_found=FALSE in idx:14  attr:1  cmptblr14:1
HFC-USB: cfg_found=FALSE in idx:15  attr:1  cmptblr15:1
HFC-USB: test alt_setting 2
HFC-USB: (if=1 alt=2 cfg_used=0)
HFC-USB: (if=1 alt=2 cfg_used=1)
HFC-USB: small_match=1 2
HFC-USB: (if=1 alt=2 cfg_used=2)
HFC-USB: cfg_found=FALSE in idx:1  attr:3  cmptblr1:1
HFC-USB: cfg_found=FALSE in idx:3  attr:3  cmptblr3:1
HFC-USB: cfg_found=FALSE in idx:5  attr:3  cmptblr5:1
HFC-USB: (if=1 alt=2 cfg_used=3)
HFC-USB: cfg_found=FALSE in idx:1  attr:3  cmptblr1:1
HFC-USB: cfg_found=FALSE in idx:3  attr:3  cmptblr3:1
HFC-USB: cfg_found=FALSE in idx:5  attr:3  cmptblr5:1
HFC-USB: final small_match=1 alt_used=2
HFC-USB: Interrupt-In Endpoint found 4 ms(idx:1 cidx:1)!
HFC-USB: fifo1 pktlen 64 interval 4
HFC-USB: Interrupt-In Endpoint found 4 ms(idx:3 cidx:3)!
HFC-USB: fifo3 pktlen 64 interval 4
HFC-USB: Interrupt-In Endpoint found 4 ms(idx:5 cidx:5)!
HFC-USB: fifo5 pktlen 64 interval 4
HFC-USB: ISO Endpoint found (idx:8 cidx:0)!
HFC-USB: fifo0 pktlen 16 interval 1
HFC-USB: ISO Endpoint found (idx:10 cidx:2)!
HFC-USB: fifo2 pktlen 16 interval 1
HFC-USB: ISO Endpoint found (idx:12 cidx:4)!
HFC-USB: fifo4 pktlen 16 interval 1
HFC-USB: detected "Billion tiny USB ISDN TA 128" configuration: 3 Interrupt IN + 3 Isochron OUT (if=1 alt=2)
HFCUSB_CHIP_ID begin
HFCUSB_CHIP_ID 40
usb_init 1
usb_init 2
usb_init usb_set_interface return 0
HiSax: Card 1 Protocol EDSS1 Id=hfc_usb0 (0)
HiSax: DSS1 Rev. 2.32
HiSax: 2 channels added
HiSax: MAX_WAITING_CALLS added
HFC-USB: starting intr IN fifo:5
HFC-USB: starting intr IN fifo:1
HFC-USB: starting intr IN fifo:3
HFC-USB: starting ISO-chain for Fifo 4
HFC-USB: starting ISO-chain for Fifo 0
HFC-USB: starting ISO-chain for Fifo 2
HFC_USB: queue_control_request reg: 1f, val: f7
ctrl_start_transfer: submit 0
HFC-USB: new S0 state:3 old_state:0
ctrl_complete cnt 1
root@sc_wl_hdd_1:~#

Akcije #33

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:~# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 07b0:0007 Trust Technologies
root@sc_wl_hdd_1:~#
Akcije #34

Izmjenjeno od Ernad Husremović prije više od 19 godina

imon mi daje hfc_usb

┌──────────────────────────────────────────────────────────────────────────────┐│ iMON 2.2                                    Last Update: 2006-09-28 14:50:52 ││                                                                              ││ Nr. LineID       Status    Phone Number                Usage       Type      ││ ──────────────────────────────────────────────────────────────────────────── ││  0  hfc_usb0     Offline                                                     ││  1  hfc_usb0     Offline                                                     ││  2                                                                           ││  3                                                                           ││  4                                                                           ││  5                                                                           ││  6                                                                           ││  7                                                                           ││  8                                                                           ││  9                                                                           ││ 10                                                                           ││ 11                                                                           ││ 12                                                                           ││ 13                                                                           ││ 14                                                                           │└──────────────────────────────────────────────────────────────────────────────┘

Akcije #35

Izmjenjeno od Ernad Husremović prije više od 19 godina

swap utils se nalazi u backports:

root@sc_wl_hdd_1:/hd1/etc/asterisk# ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages
Updated list of available packages in /usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/PackagesUpdated list of available packages in /usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages
Updated list of available packages in /usr/lib/ipkg/lists/backports
Successfully terminated.
root@sc_wl_hdd_1:/hd1/etc/asterisk# ipkg install swap-utils
Installing swap-utils (2.12r-1) to root...
Downloading http://downloads.openwrt.org/backports/rc5/swap-utils_2.12r-1_mipsel.ipk
Configuring swap-utils
Successfully terminated.
root@sc_wl_hdd_1:/hd1/etc/asterisk# ip

Akcije #36

Izmjenjeno od Ernad Husremović prije više od 19 godina

swapon

root@sc_wl_hdd_1:/hd1/etc/asterisk# mkswap /dev/ide/host0/bus0/target0/lun0/part2
Setting up swapspace version 1, size = 263204 kB
root@sc_wl_hdd_1:/hd1/etc/asterisk# swapon /dev/ide/host0/bus0/target0/lun0/part2
root@sc_wl_hdd_1:/hd1/etc/asterisk#

Akcije #37

Izmjenjeno od Ernad Husremović prije više od 19 godina

root@sc_wl_hdd_1:/hd1/etc/asterisk# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  14692352 13606912  1085440        0   446464  4747264
Swap: 263200768        0 263200768
MemTotal:        14348 kB
MemFree:          1060 kB
MemShared:           0 kB
Buffers:           436 kB
Cached:           4636 kB
SwapCached:          0 kB
Active:           4348 kB
Inactive:          748 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:        14348 kB
LowFree:          1060 kB
SwapTotal:      257032 kB
SwapFree:       257032 kB
Akcije #38

Izmjenjeno od Ernad Husremović prije više od 19 godina

hejj uspjeh ja ovo podići:

...
 [skipping cdr_csv.so]
 [skipping cdr_manager.so]
 [skipping chan_modem_i4l.so]
 [chan_modem.so] => (Generic Voice Modem Driver)
  == Parsing '/etc/asterisk/modem.conf': Found
  == Loading modem driver chan_modem_i4l.so => (ISDN4Linux Emulated Modem Driver)
    -- Configured modem /dev/isdn/ttyI0 with driver i4l (Linux ISDN)
  == Registered channel type 'Modem' (Generic Voice Modem Channel Driver)
  == Parsing '/etc/asterisk/enum.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
  == Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger restarted
  == Parsing '/etc/asterisk/manager.conf': Found
  == Parsing '/etc/asterisk/enum.conf': Found
  == Parsing '/etc/asterisk/rtp.conf': Found
  == RTP Allocating from port range 10000 -> 20000
Asterisk Ready.
*CLI>

znači uređaj je /dev/isdn/ttyI0

Akcije #40

Izmjenjeno od Ernad Husremović prije oko 18 godina

  • Status promijenjeno iz Novo u Zatvoreno
Akcije

Također dostupno kao Atom PDF