Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 14:19
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Dialup
ask cannot install usb-modeswitch
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
east_spirit

Joined: 25 Oct 2013
Posts: 8

PostPosted: Fri 25 Oct 2013, 13:47    Post_subject:  ask cannot install usb-modeswitch  

I use lucid puppy 5.2 and cannot install usmodeswitch,help me,thanks

# mkdir usb-modeswitch
# cd usb-modeswitch
# tar jxvf usb-modeswitch-2.0.1.tar.bz2
tar: Record size = 8 blocks
usb-modeswitch-2.0.1/
usb-modeswitch-2.0.1/usb_modeswitch.1
usb-modeswitch-2.0.1/README
usb-modeswitch-2.0.1/usb_modeswitch.c
usb-modeswitch-2.0.1/usb_modeswitch_dispatcher.1
usb-modeswitch-2.0.1/ChangeLog
usb-modeswitch-2.0.1/usb_modeswitch.h
usb-modeswitch-2.0.1/Makefile
usb-modeswitch-2.0.1/usb_modeswitch@.service
usb-modeswitch-2.0.1/COPYING
usb-modeswitch-2.0.1/usb-modeswitch-upstart.conf
usb-modeswitch-2.0.1/jim/
usb-modeswitch-2.0.1/jim/jimregexp.c
usb-modeswitch-2.0.1/jim/jim-load.c
usb-modeswitch-2.0.1/jim/tclcompat.tcl
usb-modeswitch-2.0.1/jim/Makefile.in
usb-modeswitch-2.0.1/jim/rlprompt.tcl
usb-modeswitch-2.0.1/jim/jim-package.c
usb-modeswitch-2.0.1/jim/autosetup/
usb-modeswitch-2.0.1/jim/autosetup/find-tclsh
usb-modeswitch-2.0.1/jim/autosetup/system.tcl
usb-modeswitch-2.0.1/jim/autosetup/cc-shared.tcl
usb-modeswitch-2.0.1/jim/autosetup/README.autosetup
usb-modeswitch-2.0.1/jim/autosetup/autosetup
usb-modeswitch-2.0.1/jim/autosetup/LICENSE
usb-modeswitch-2.0.1/jim/autosetup/config.guess
usb-modeswitch-2.0.1/jim/autosetup/cc-lib.tcl
usb-modeswitch-2.0.1/jim/autosetup/config.sub
usb-modeswitch-2.0.1/jim/autosetup/test-tclsh
usb-modeswitch-2.0.1/jim/autosetup/cc.tcl
usb-modeswitch-2.0.1/jim/README
usb-modeswitch-2.0.1/jim/jim-eventloop.c
usb-modeswitch-2.0.1/jim/make-bootstrap-jim
usb-modeswitch-2.0.1/jim/utf8.c
usb-modeswitch-2.0.1/jim/bootstrap.tcl
usb-modeswitch-2.0.1/jim/jim-subcmd.c
usb-modeswitch-2.0.1/jim/LICENSE
usb-modeswitch-2.0.1/jim/README.usb_modeswitch
usb-modeswitch-2.0.1/jim/jimautoconf.h.in
usb-modeswitch-2.0.1/jim/regtest.tcl
usb-modeswitch-2.0.1/jim/make-index
usb-modeswitch-2.0.1/jim/linenoise.c
usb-modeswitch-2.0.1/jim/jim-array.c
usb-modeswitch-2.0.1/jim/make-load-static-exts.tcl
usb-modeswitch-2.0.1/jim/parse-unidata.tcl
usb-modeswitch-2.0.1/jim/AUTHORS
usb-modeswitch-2.0.1/jim/make-c-ext.tcl
usb-modeswitch-2.0.1/jim/auto.def
usb-modeswitch-2.0.1/jim/jim-interactive.c
usb-modeswitch-2.0.1/jim/configure.ac
usb-modeswitch-2.0.1/jim/jim-nvp.c
usb-modeswitch-2.0.1/jim/linenoise.h
usb-modeswitch-2.0.1/jim/jim-file.c
usb-modeswitch-2.0.1/jim/glob.tcl
usb-modeswitch-2.0.1/jim/jim-exec.c
usb-modeswitch-2.0.1/jim/jim-nvp.h
usb-modeswitch-2.0.1/jim/jimsh.c
usb-modeswitch-2.0.1/jim/jim.c
usb-modeswitch-2.0.1/jim/configure
usb-modeswitch-2.0.1/jim/jim-subcmd.h
usb-modeswitch-2.0.1/jim/jim-readdir.c
usb-modeswitch-2.0.1/jim/jim.h
usb-modeswitch-2.0.1/jim/jim-config.h.in
usb-modeswitch-2.0.1/jim/jim-clock.c
usb-modeswitch-2.0.1/jim/jim-regexp.c
usb-modeswitch-2.0.1/jim/tree.tcl
usb-modeswitch-2.0.1/jim/freebsd/
usb-modeswitch-2.0.1/jim/freebsd/duane.txt
usb-modeswitch-2.0.1/jim/freebsd/andrew.txt
usb-modeswitch-2.0.1/jim/freebsd/clemens.txt
usb-modeswitch-2.0.1/jim/freebsd/pat.txt
usb-modeswitch-2.0.1/jim/freebsd/salvatore.txt
usb-modeswitch-2.0.1/jim/freebsd/uwe.txt
usb-modeswitch-2.0.1/jim/freebsd/oharboe.txt
usb-modeswitch-2.0.1/jim/jim-posix.c
usb-modeswitch-2.0.1/jim/jim-aio.c
usb-modeswitch-2.0.1/jim/initjimsh.tcl
usb-modeswitch-2.0.1/jim/jim-signal.h
usb-modeswitch-2.0.1/jim/jim-signal.c
usb-modeswitch-2.0.1/jim/tcl.license.terms
usb-modeswitch-2.0.1/jim/jim-readline.c
usb-modeswitch-2.0.1/jim/jim-sdl.c
usb-modeswitch-2.0.1/jim/stdlib.tcl
usb-modeswitch-2.0.1/jim/jim-format.c
usb-modeswitch-2.0.1/jim/jimregexp.h
usb-modeswitch-2.0.1/jim/jim-win32compat.h
usb-modeswitch-2.0.1/jim/jim-eventloop.h
usb-modeswitch-2.0.1/jim/utf8.h
usb-modeswitch-2.0.1/jim/jim-pack.c
usb-modeswitch-2.0.1/jim/jim-syslog.c
usb-modeswitch-2.0.1/usb_modeswitch.tcl
usb-modeswitch-2.0.1/usb_modeswitch.sh
usb-modeswitch-2.0.1/usb_modeswitch.conf
usb-modeswitch-2.0.1/dispatcher.c
usb-modeswitch-2.0.1/make_string.tcl
# cd usb-modeswitch-2.0.1
# ./configure
bash: ./configure: No such file or directory
# install
install: missing file operand
Try `install --help' for more information.
# cd usb-modeswitch-2.0.1
bash: cd: usb-modeswitch-2.0.1: No such file or directory
# make install
bash: make: command not found
# install
install: missing file operand
Try `install --help' for more information.
Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2533
Location: Heart of Texas

PostPosted: Fri 25 Oct 2013, 14:20    Post_subject:  

usb-modeswitch already exist in most puppies by default, and has been since the early days, but it may not be current, however the textfile that contains the updated 'switches' would be available to pass the newer stuff on the command line using the older never changed part of usb-modeswitch, if you want to save compiling

However, looks like you are missing the devx squashfile, and/or did not use the load-as-sfs method. DEVELOPMENT TOOLS ARE NOT INCLUDED BY DEFAULT

Check where you got the ISO file and look for the same named dev.sfs file, if you did not download it already.
Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2533
Location: Heart of Texas

PostPosted: Fri 25 Oct 2013, 14:28    Post_subject:  

Usb-modeswitch is a good easy to compile code, so not bad if this is your learning to compile.

standard 3 steps:

./configure
make
make install

install as a sinlge command is not useful in this case, make install will fully install the software when ran in this case. but you need to run a single 'make' before make install.
Back to top
View user's profile Send_private_message 
watchdog

Joined: 28 Sep 2012
Posts: 676

PostPosted: Fri 25 Oct 2013, 14:31    Post_subject:  

Load the lupu_devx_520.sfs:

http://distro.ibiblio.org/puppylinux/puppy-5.2/lupu_devx_520.sfs

If you haven't load-sfs-on-the-fly use bootmanager to load it at boot. Move the devx sfs where is your save file and then type in console:

Code:
bootmanager


Choose to load the sfs at boot. Reboot. You should have a frugal install only to compile. So I suggest to you to copy the save file with another name only to compile. When you have loaded the devx sfs, try:

Code:
cd /mnt/home
tar xjvf /path-to/usb-modeswitch-2.0.1.tar.bz2
cd usb-modeswitch-2.0.1
make
new2dir make install


The same procedure without "make" should be done to build the usb-modeswitch-2.0.1-data-20130807.i486.pet. Then install both the pets.

EDIT: I did the job for all users:

http://www.murga-linux.com/puppy/viewtopic.php?p=732851#732851
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking » Dialup
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0566s ][ Queries: 11 (0.0032s) ][ GZIP on ]