LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2017, 12:46 PM   #1
eferrara@esferrara.com
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Rep: Reputation: Disabled
Configure USB as Serial Port for Fortinet Firewall Configuration.


Hi, I'm trying to access a Fortinet 60D firewall by using a USB cable and associated mini-port. This is an Ubuntu 16.04 system running under Parallels on a Mac. The Fortinet firewall is recognized by the Linux system.

$ dmesg | tail

produces:

[17648.321755] usb 1-3: USB disconnect, device number 4
[17653.955719] usb 1-1: new high-speed USB device number 10 using ehci-pci
[17654.108269] usb 1-1: New USB device found, idVendor=22a7, idProduct=1001
[17654.108271] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17654.108273] usb 1-1: Product: Fortinet FortiGate Device
[17654.108274] usb 1-1: Manufacturer: Fortinet Technologies
[17654.108275] usb 1-1: SerialNumber: FGT60D4QXXXXXX8

However there are no /dev/ttyUSB* devices in /dev. I have installed the moserial package. Still no joy.

Thank you,

Last edited by eferrara@esferrara.com; 11-18-2017 at 01:14 PM. Reason: Obfuscate the Fortinet serial number.
 
Old 11-18-2017, 01:10 PM   #2
eferrara@esferrara.com
LQ Newbie
 
Registered: Nov 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
OK Here is an update after further exploration. I ran the following:

sudo mknod /dev/usb/ttyUSB0 c 188 0
sudo mknod /dev/usb/ttyUSB1 c 188 1
sudo mknod /dev/usb/ttyUSB2 c 188 2
sudo mknod /dev/usb/ttyUSB3 c 188 3
sudo mknod /dev/usb/ttyUSB4 c 188 4
sudo mknod /dev/usb/ttyUSB5 c 188 5
sudo mknod /dev/usb/ttyUSB6 c 188 6
sudo mknod /dev/usb/ttyUSB7 c 188 7
sudo mknod /dev/usb/ttyUSB8 c 188 8
sudo mknod /dev/usb/ttyUSB9 c 188 9
sudo mknod /dev/usb/ttyUSB10 c 188 10
sudo mknod /dev/usb/ttyUSB11 c 188 11
sudo mknod /dev/usb/ttyUSB12 c 188 12
sudo mknod /dev/usb/ttyUSB13 c 188 13
sudo mknod /dev/usb/ttyUSB14 c 188 14
sudo mknod /dev/usb/ttyUSB15 c 188 15

and now have the necessary USB devices in the /dev/usb directory. Now I am looking for the command to gain access to the Fortinet and link the Fortinet USB device to the appropriate COMM port.

Thank you,

Last edited by eferrara@esferrara.com; 11-18-2017 at 01:11 PM. Reason: Adding more details.
 
Old 11-18-2017, 01:51 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,591

Rep: Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163
Welcome to LinuxQuestions.

From what I can determine the fortiexplorer i.e. the application that connects the computer to the USB management port is only for Windows and MacOS. I have not found anything that indicates there is a linux version.

However, it appears that the 60D has a real serial port on the other side. Using a USB serial port adapter like a FTDI model should be automatically recognized and create a /dev/ttyUSB device ID. You can then use a comm port program like putty or minicom to connect to the firewall.

https://docs.fortinet.com/uploaded/f...-%20Online.pdf

Then again just use MacOS.
FYI hopefully your username is not your real email address.

Last edited by michaelk; 11-18-2017 at 02:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is a USBtty (USB serial port) treated the same as tty (normal serial port) in C? spudgunner Programming 1 11-12-2010 01:19 PM
USB to RS232 (serial port)? - no I need to configure anything? Ultrus Linux - Hardware 12 08-16-2007 06:00 PM
USB - Serial port configuration?? SCClockDr Linux - Newbie 16 07-26-2007 10:28 PM
timedia 4 port serial port i/o card configuration binu_edl Linux - Hardware 0 03-09-2006 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 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