Page 1 of 1

Install Problem usb_modeswitch and pfsense

Posted: 01 Jun 2015, 10:35
by TomNavi
Hi,

my Name is Tom - hello to all. Iam new here and hope for some help.

I use pfsense and want to install usb_modeswitch on this. I have downloaded the usb_modeswitch and the data.

My pfsense Version is:
2.2.2-RELEASE (i386)
built on Mon Apr 13 20:10:33 CDT 2015

FreeBSD 10.1-RELEASE-p9

Whats my Problem? I will use a "make install" but is dont running under pfsense (i have r/w rights). I think the Problem is, that i dont have the "tcl package".
How can i download and install this packeage under pfsense?

[2.2.2-RELEASE][root@pfsense.domaene.corp]/root: cd usbmodeswitch
[2.2.2-RELEASE][root@pfsense.domaene.corp]/root/usbmodeswitch: ls
usb-modeswitch-2.2.1 usb-modeswitch-data-20150115
usb-modeswitch-2.2.1.tar.bz2 usb-modeswitch-data-20150115.tar.bz2
[2.2.2-RELEASE][root@pfsense.domaene.corp]/root/usbmodeswitch: cd usb-modeswitch-2.2.1
[2.2.2-RELEASE][root@pfsense.domaene.corp]/root/usbmodeswitch/usb-modeswitch-2.2.1: ls
COPYING usb_modeswitch.c
ChangeLog usb_modeswitch.conf
Makefile usb_modeswitch.conf.orig
README usb_modeswitch.h
dispatcher.c usb_modeswitch.sh
jim usb_modeswitch.tcl
make_string.tcl usb_modeswitch@.service
usb-modeswitch-upstart.conf usb_modeswitch_dispatcher.1
usb_modeswitch.1
[2.2.2-RELEASE][root@pfsense.domaene.corp]/root/usbmodeswitch/usb-modeswitch-2.2.1: make install
make: Command not found.

Thnak you for any help!

Tom

Re: Install Problem usb_modeswitch and pfsense

Posted: 01 Jun 2015, 15:09
by LOM
The make cmd is part of the toolchain you need to have on your build computer in order to compile a source to an executable program.
You are probably better off by searching the net for a prebuild usb_modeswitch for FreeeBSD.

Re: Install Problem usb_modeswitch and pfsense

Posted: 01 Jun 2015, 18:06
by TomNavi
Hi,

thank you for answer. Thats is it - i search a package and found now this:

pkg install sysutils/usb_modeswitch

i run with this command and the result is this:

[2.2.2-RELEASE][root@pfsense.domaene.corp]/root: pkg install sysutils/usb_modeswitch
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The most recent version of packages are already installed

how can i check thats usb_modeswitch is running?

Re: Install Problem usb_modeswitch and pfsense

Posted: 02 Jun 2015, 08:31
by Josh
First, note that the 'framework' of usb_modeswitch and its helpers that you can download here is specifically made for Linux.

Then, questions about the package you installed may be answered much better by the people who prepared it for FreeBSD.

Re: Install Problem usb_modeswitch and pfsense

Posted: 03 Jun 2015, 16:37
by TomNavi
...it is horrible - there is no way to install. I have no ppp´s under pfsense für Huawei E392.

Have anyone run a pfsense in Version 2.2 with a 3G/4G Dongle and can help?

Ty
Greetings Tom

Re: Install Problem usb_modeswitch and pfsense

Posted: 03 Jun 2015, 18:47
by LOM
Why do you need to run usb_modeswitch?
FreeBSD has 3G dongle support and their own mode switching program.

Re: Install Problem usb_modeswitch and pfsense

Posted: 04 Jun 2015, 15:18
by TomNavi
i need it, because my Huawei E392 (same with Huawei E3131) is not running under pfSense. I see only the message, thats the huawei run as CD-ROM. iam hopefully, that is running with usb_modeswitch.

Or is there another possibility under PfSense????

Re: Install Problem usb_modeswitch and pfsense

Posted: 07 Jun 2015, 11:27
by Josh
I have not even heard about Pfsense until now ... Sorry!

Again, better information is certainly available from the creators of that system.

Re: Install Problem usb_modeswitch and pfsense

Posted: 08 Jun 2015, 14:42
by TomNavi
Hi,
pfsense is a firewall - based on FreeBSD.