Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
TomNavi
Posts: 6
Joined: 01 Jun 2015, 10:23

Install Problem usb_modeswitch and pfsense

Post by TomNavi » 01 Jun 2015, 10:35

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

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Install Problem usb_modeswitch and pfsense

Post by LOM » 01 Jun 2015, 15:09

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.

TomNavi
Posts: 6
Joined: 01 Jun 2015, 10:23

Re: Install Problem usb_modeswitch and pfsense

Post by TomNavi » 01 Jun 2015, 18:06

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?

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Install Problem usb_modeswitch and pfsense

Post by Josh » 02 Jun 2015, 08:31

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.

TomNavi
Posts: 6
Joined: 01 Jun 2015, 10:23

Re: Install Problem usb_modeswitch and pfsense

Post by TomNavi » 03 Jun 2015, 16:37

...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

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: Install Problem usb_modeswitch and pfsense

Post by LOM » 03 Jun 2015, 18:47

Why do you need to run usb_modeswitch?
FreeBSD has 3G dongle support and their own mode switching program.

TomNavi
Posts: 6
Joined: 01 Jun 2015, 10:23

Re: Install Problem usb_modeswitch and pfsense

Post by TomNavi » 04 Jun 2015, 15:18

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????

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: Install Problem usb_modeswitch and pfsense

Post by Josh » 07 Jun 2015, 11:27

I have not even heard about Pfsense until now ... Sorry!

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

TomNavi
Posts: 6
Joined: 01 Jun 2015, 10:23

Re: Install Problem usb_modeswitch and pfsense

Post by TomNavi » 08 Jun 2015, 14:42

Hi,
pfsense is a firewall - based on FreeBSD.

Post Reply