LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2006, 06:41 AM   #1
saman123
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Rep: Reputation: 0
Unhappy BusyBox v0.60.5 (2003.11.15-11:58+0000)


actualy my problem is with busybox package.
i have a modem who busybox intalled on it. i can add a static route on it with route add -net x.c.v.b netmask 255.25.255.0 gw n.m.k.l
and it work without any problem . but afre rebooting the modem that route remove from routing table . i have this problem with any folder and file who i create on it . at first every thing seems ok befor any reboot . after reboot you cannot see that file or folder who you add befor reboot . i think aome thing will overwite every thing in boot proccess


i have problem With it ,i dont have any permission , for example i cant save
Exapmle :
route add -net 10.2.3.0 netmask 255.255.255.0 gw 11.0.55.5
after reboot it . i dont see in the my route

or
i cant access to some command
please help

Last edited by saman123; 08-28-2006 at 08:13 AM.
 
Old 08-24-2006, 11:44 AM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Well, it helps to know what distro you have. Here is how you would do it for fedora:
http://www.linuxhomenetworking.com/w..._Static_Routes

If you need help forming a google search 'Permanent Route' and then your distro name.

If you need some more help just give us your distro name and we can go from there.

If you are having trouble with some commands give us the error and what commands you are trying to do.
 
Old 08-25-2006, 12:49 AM   #3
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
I tried busybox a long time ago when working with embedded system.

From memory, you should be able to choose what program to add to busy box during install.

With SnapGear I believe you just do that during the configuration of the Kernel. I'm not sure what happen if you manually download and install it.

Busybox is simply a compilation of multiple program into one large program to save diskspace. So you should be able to find the program as a symbolic link. For example "ftp" becomes a symbolic link to "busybox ftp" or something like that.
 
Old 08-25-2006, 12:51 AM   #4
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
p.s. when you say you don't have permission do you mean you can't find "chmod"?

I just checked the busybox website, your version of busybox might be a bit outdated. You should download the newer version, it might appeared large. But when you "choose" the programs to add the compiled binary shouldn't be so large.

Good luck.

Last edited by blackzone; 08-25-2006 at 12:57 AM.
 
Old 08-26-2006, 01:23 AM   #5
saman123
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Route Problem

hi
actualy my problem is with busybox package.
i have a modem who busybox intalled on it. i can add a static route on it with route add -net x.c.v.b netmask 255.25.255.0 gw n.m.k.l
and it work without any problem . but afre rebooting the modem that route remove from routing table . i have this problem with any folder and file who i create on it . at first every thing seems ok befor any reboot . after reboot you cannot see that file or folder who you add befor reboot . i think aome thing will overwite every thing in boot proccess .
 
Old 08-26-2006, 04:41 AM   #6
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
I havn't use Linux in a while, other than using one as a server.

From memory and from Benjithegreat98's link, the static route is always remove after you reboot your Linux system. That is normal on a standard Linux system.

If you read Benjithegreat98's link, you need to add the route to /etc/sysconfig/network-scripts/route-* filename.

For the file and folder disappearing. It's likely you are using a "ram harddisk". That means the only time you use your harddisk is durng boot when it copys the Linux Kernel and all configuration file to ram.

Hope this helps.
 
Old 08-26-2006, 05:00 AM   #7
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
It also might be a standard harddrive which is always overwrite by a saved default harddrive.

If you have so much control over your modem and created error, the vendor will get alot of complaints.

There must be a way to save the change through interface provide by your modem.
 
Old 08-26-2006, 05:47 AM   #8
saman123
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
help

hi
I read your idea
but unfortunatly the directroy that you have mentioned doesnot exist on or system
what is your solution?
 
Old 08-26-2006, 06:27 AM   #9
blackzone
Member
 
Registered: Jun 2004
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by saman123
hi
I read your idea
but unfortunatly the directroy that you have mentioned doesnot exist on or system
what is your solution?
I dont' know. What modem is it exactly. If the vendor meant to let you add route there should be an interface provided by your modem which let you save your configuration in a file.

You can try to manual add the route in the Linux boot script. I'm not sure if the bootscrpt is overwrited during boot too though.
 
Old 08-27-2006, 06:53 AM   #10
saman123
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
My Modem

# dmesg
Linux version 2.4.20 (root@build) (gcc version 3.2.1) #20 Mon May 23 16:01:33 PD
T 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000eff0000 (usable)
BIOS-e820: 000000000eff0000 - 000000000eff3000 (ACPI NVS)
BIOS-e820: 000000000eff3000 - 000000000f000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
239MB LOWMEM available.
On node 0 totalpages: 61424
zone(0): 4096 pages.
zone(1): 57328 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram0 init=/linuxrc rw BOOT_IMAGE=bzimage
Initializing CPU#0
Detected 797.989 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1592.52 BogoMIPS
Memory: 238708k/245696k available (1830k kernel code, 6604k reserved, 595k data,
116k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After generic, caps: 00803135 80803035 00000000 00000000
CPU: Common caps: 00803135 80803035 00000000 00000000
CPU: Centaur VIA Samuel 2 stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb380, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI IS
APNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: detected chipset, but driver not compiled in!
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hdaio, hdbio
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdcio, hddio
keyboard: Timeout - AT keyboard not present?(ed)
keyboard: Timeout - AT keyboard not present?(f4)
hdc: PQI IDE DiskOnModule, ATA DISK drive
ide2: ports already in use, skipping probe
ide1 at 0x170-0x177,0x376 on irq 15
hdc: 256000 sectors (131 MB) w/1KiB Cache, CHS=500/16/32
Partition check:
hdc: hdc1 hdc2
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
pcnet32.c:v1.27b 01.10.2002 tsbogend@alpha.franken.de
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 00:13.0
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:07.3
eth0: RealTek RTL8139 Fast Ethernet at 0xcf80d000, cc:01:80:02:3d:42, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 189M
agpgart: Unsupported Via chipset (device id: 0605), you might want to try agp_tr
y_unsupported=1.
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized radeon 1.1.1 20010405 on minor 1
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
es1371: version v0.30 time 16:04:07 May 23 2005
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:07.2
PCI: Sharing IRQ 11 with 00:07.3
PCI: Sharing IRQ 11 with 00:13.0
uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:07.3
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:13.0
uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
IPv4 over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (1919 buckets, 15352 max) - 292 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 919k freed
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 116k freed
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,2), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
 
Old 08-27-2006, 08:47 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Is this a modem/router that runs linux? Post the make and model number of your modem.

As previoulsy stated busybox is an executable that contains stripped down versions of the basic unix core utilities. It is designed to run on embedded sytems with low memory resources. Either the command your trying to execute is not included or there isn't a path environment variable configured. This modem runs from a flash memory chip configured as hdc and contains two partitions. The OS runs from RAM similar to a liveCD so creating any files or folders is never written back to the flash memory chip.

Without knowing specific information on how the data is stored in flash or how the flash memory is configured I can not tell you how to save your files / and folders.
 
Old 08-27-2006, 01:23 PM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-28-2006, 08:09 AM   #13
saman123
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
still help needed

pleae tell me what kind of information do you need?
 
Old 08-28-2006, 09:53 AM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Post the make and model number of your modem/router.
 
Old 08-28-2006, 10:14 AM   #15
saman123
LQ Newbie
 
Registered: Aug 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Model

Model Is Satpath2000 . This is satllite modem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCI: Cannot allocate resource region 0 of device 0000:00:12.0 mvo Linux - Hardware 8 12-06-2007 11:12 AM
PCI: Cannot allocate resource region 1 of device 0000:00:00.0 dbfoxnh Linux - Hardware 2 04-22-2005 10:01 AM
/var/log/message : kernel: general protection fault: 0000 philipina Linux - General 0 08-05-2004 05:21 AM
Unreal 2003 (yes -- 2003) install headaches archlyn Linux - Games 3 05-18-2004 11:49 AM
invalid operand 0000 x2000koh Linux - General 3 07-03-2003 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration