new connection

new connection

Postby thfcfan » Mar 6th, '13, 12:37

Hello Forum,

I downloaded Mageia -2 i586 today and trying to get a connection to my Sierra 320U 4G. link below what it is.

http://www.sierrawireless.com/productsa ... _320U.aspx

I have been able to connect with another linux distro with the driver in the link below, but new to mageia.

http://mycusthelpadmin.net/SIERRAWIRELE ... GEU&aid=44

With pclinuxos i unzip the file then in konsole cd to where the file is, the type make - make install. This does not work in mageia, how can i compile the driver ?

I am using a laptop with mageia, Is there a way to get connected to the net with my 4G ?

Any help appreciated.

thfcfan.
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby thfcfan » Mar 12th, '13, 06:44

Anyone got any ideas ?
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby wintpe » Mar 12th, '13, 16:35

when you say this does not work, can you be a bit more specific.

for example command not found, then try installing the commands it does not find,

like the GCC compiler and Make development tools.

we can see whats on your screen from here..... :)

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: new connection

Postby doktor5000 » Mar 12th, '13, 20:17

thfcfan wrote:With pclinuxos i unzip the file then in konsole cd to where the file is, the type make - make install. This does not work in mageia, how can i compile the driver ?

Why exactly doesn't it work? Any error messages? Please post the output here so we can take a look.

Also it would be helpful to see how the device gets recognized. Unplug the modem, then please do the following:
open a terminal, and as root run:

Code: Select all
tailf /var/log/messages

then wait a few seconds, and plugin the 3g modem, wait again ten secons or so, until no new output appears,
and post everything here using code-tags.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: new connection

Postby thfcfan » Mar 13th, '13, 05:56

First up, Thank You for the help.

I reinstalled mageia and when i type tailf /var/log/messages:

Code: Select all
[root@localhost derek]# tailf /var/log/messages
Mar 13 13:39:15 localhost udevd[309]: worker [4138] failed while handling '/devices/pci0000:00/0000:00:05.0/0000:0b:00.0/ssb0:0/firmware/ssb0:0'
Mar 13 13:39:16 localhost kernel: [ 1754.114611] b43-phy0 ERROR: Firmware file "b43/ucode11.fw" not found
Mar 13 13:39:16 localhost kernel: [ 1754.114622] b43-phy0 ERROR: Firmware file "b43-open/ucode11.fw" not found
Mar 13 13:39:16 localhost kernel: [ 1754.114631] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
Mar 13 13:39:17 localhost kernel: [ 1755.130781] b43-phy0 ERROR: Firmware file "b43/ucode11.fw" not found
Mar 13 13:39:17 localhost kernel: [ 1755.130792] b43-phy0 ERROR: Firmware file "b43-open/ucode11.fw" not found
Mar 13 13:39:17 localhost kernel: [ 1755.130803] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
Mar 13 13:39:18 localhost kernel: [ 1756.146694] udevd[4145]: segfault at 8 ip 08055ee3 sp bfe3fd80 error 4 in udevd[8048000+2a000]
Mar 13 13:39:18 localhost udevd[309]: worker [4145] terminated by signal 11 (Segmentation fault)
Mar 13 13:39:18 localhost udevd[309]: worker [4145] failed while handling '/devices/pci0000:00/0000:00:05.0/0000:0b:00.0/ssb0:0/firmware/ssb0:0'
Mar 13 13:40:02 localhost kernel: [ 1799.381076] usb 6-1: new high-speed USB device number 17 using ehci_hcd
Mar 13 13:40:02 localhost kernel: [ 1799.496616] usb 6-1: config 1 has an invalid interface number: 9 but max is 0
Mar 13 13:40:02 localhost kernel: [ 1799.496630] usb 6-1: config 1 has no interface number 0
Mar 13 13:40:02 localhost kernel: [ 1799.498599] usb 6-1: New USB device found, idVendor=1199, idProduct=0fff
Mar 13 13:40:02 localhost kernel: [ 1799.498609] usb 6-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Mar 13 13:40:02 localhost kernel: [ 1799.498617] usb 6-1: Product: USB MMC Storage
Mar 13 13:40:02 localhost kernel: [ 1799.498624] usb 6-1: Manufacturer: Sierra Wireless, Incorporated
Mar 13 13:40:02 localhost kernel: [ 1799.498631] usb 6-1: SerialNumber: SWOC22905731
Mar 13 13:40:02 localhost kernel: [ 1799.503701] usb-storage: probe of 6-1:1.9 failed with error -5
Mar 13 13:40:02 localhost mtp-probe: checking bus 6, device 17: "/sys/devices/pci0000:00/0000:00:13.5/usb6/6-1"
Mar 13 13:40:02 localhost mtp-probe: bus: 6, device: 17 was not an MTP device
Mar 13 13:40:03 localhost usb_modeswitch: switching device 1199:0fff on 006/017
Mar 13 13:40:07 localhost kernel: [ 1804.387853] usb 6-1: USB disconnect, device number 17
Mar 13 13:40:07 localhost kernel: [ 1804.698086] usb 6-1: new high-speed USB device number 18 using ehci_hcd
Mar 13 13:40:07 localhost kernel: [ 1804.813825] usb 6-1: config 1 has an invalid interface number: 9 but max is 5
Mar 13 13:40:07 localhost kernel: [ 1804.813839] usb 6-1: config 1 has an invalid interface number: 7 but max is 5
Mar 13 13:40:07 localhost kernel: [ 1804.813849] usb 6-1: config 1 has no interface number 2
Mar 13 13:40:07 localhost kernel: [ 1804.813856] usb 6-1: config 1 has no interface number 5
Mar 13 13:40:07 localhost kernel: [ 1804.815832] usb 6-1: New USB device found, idVendor=0f3d, idProduct=68aa
Mar 13 13:40:07 localhost kernel: [ 1804.815847] usb 6-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
Mar 13 13:40:07 localhost kernel: [ 1804.815856] usb 6-1: Product: AirCard 320U
Mar 13 13:40:07 localhost kernel: [ 1804.815863] usb 6-1: Manufacturer: Sierra Wireless, Incorporated
Mar 13 13:40:07 localhost kernel: [ 1804.815871] usb 6-1: SerialNumber: 357272041297700
Mar 13 13:40:07 localhost kernel: [ 1804.819495] scsi22 : usb-storage 6-1:1.9
Mar 13 13:40:07 localhost mtp-probe: checking bus 6, device 18: "/sys/devices/pci0000:00/0000:00:13.5/usb6/6-1"
Mar 13 13:40:07 localhost mtp-probe: bus: 6, device: 18 was not an MTP device
Mar 13 13:40:08 localhost kernel: [ 1805.821915] scsi 22:0:0:0: Direct-Access     SWI      SD Card          2.31 PQ: 0 ANSI: 2
Mar 13 13:40:08 localhost kernel: [ 1805.827724] sd 22:0:0:0: [sdb] Attached SCSI removable disk
Mar 13 13:40:13 localhost logger: usb_modeswitch: switched to 0f3d:68aa on 006/018
Mar 13 13:40:19 localhost kernel: [ 1817.057516] udevd[4247]: segfault at 8 ip 08055ee3 sp bfe3fd80 error 4 in udevd[8048000+2a000]
Mar 13 13:40:19 localhost kernel: [ 1817.099599] b43-phy0 ERROR: Firmware file "b43/ucode11.fw" not found
Mar 13 13:40:19 localhost kernel: [ 1817.099610] b43-phy0 ERROR: Firmware file "b43-open/ucode11.fw" not found
Mar 13 13:40:19 localhost kernel: [ 1817.099619] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
Mar 13 13:40:19 localhost udevd[309]: worker [4247] terminated by signal 11 (Segmentation fault)
Mar 13 13:40:19 localhost udevd[309]: worker [4247] failed while handling '/devices/pci0000:00/0000:00:05.0/0000:0b:00.0/ssb0:0/firmware/ssb0:0'
Mar 13 13:40:20 localhost kernel: [ 1818.113677] b43-phy0 ERROR: Firmware file "b43/ucode11.fw" not found
Mar 13 13:40:20 localhost kernel: [ 1818.113688] b43-phy0 ERROR: Firmware file "b43-open/ucode11.fw" not found
Mar 13 13:40:20 localhost kernel: [ 1818.113697] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
Mar 13 13:40:21 localhost kernel: [ 1819.125452] b43-phy0 ERROR: Firmware file "b43/ucode11.fw" not found
Mar 13 13:40:21 localhost kernel: [ 1819.125464] b43-phy0 ERROR: Firmware file "b43-open/ucode11.fw" not found
Mar 13 13:40:21 localhost kernel: [ 1819.125474] b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.
Mar 13 13:40:22 localhost kernel: [ 1820.137278] udevd[4254]: segfault at 8 ip 08055ee3 sp bfe3fd80 error 4 in udevd[8048000+2a000]
Mar 13 13:40:22 localhost udevd[309]: worker [4254] terminated by signal 11 (Segmentation fault)
Mar 13 13:40:22 localhost udevd[309]: worker [4254] failed while handling '/devices/pci0000:00/0000:00:05.0/0000:0b:00.0/ssb0:0/firmware/ssb0:0'


The Sierra Aircard is detected as you can see.
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby thfcfan » Mar 13th, '13, 12:39

wintpe,

This is what i have done.

I made a folder and downloaded the file
Code: Select all
v3.2_1740_kernel-3.0.directIP.tar
and moved the file into that folder.

Then i opened konsole and su for root. Changed into the folder where the file is, and typed
Code: Select all
tar zvf v3.2_1740_kernel-3.0.directIP.tar


Then i went into the unzipped folder
Code: Select all
v3.2_1740_kernel-3.0.directIP.


And typed make and this error message came up:

Code: Select all
Compiling sierra.c sierra_net.c
make: **** /lib/modules/3.3.6-desktop-2.mga2/build: No such file or directory. Stop.
make: **** [default] Error 2


Am i doing it the wrong way ?
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby doktor5000 » Mar 13th, '13, 23:02

Nope, you're missing either the kernel-devel package for your current running kernel or the kernel-source package.
First try the former, if it's still not enough, try the latter. This is what that folder (actually it's only a link) looks like if you have it
installed:

Code: Select all
[doktor5000@Mageia2 ~]$ ls -la /lib/modules/3.4.34-desktop-1.mga2/build
lrwxrwxrwx 1 root root 36 Mär  3 14:30 /lib/modules/3.4.34-desktop-1.mga2/build -> /usr/src/linux-3.4.34-desktop-1.mga2/


If you don't have either installed, the link is not there, and you get the error as shown in your post.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: new connection

Postby thfcfan » Mar 14th, '13, 00:31

I downloaded the files:

Code: Select all
kernel-desktop-devel-latest-3.3.6-2.mga2.i586

kernel-source-3.3.6-2.mga2-1-1.mga2.noarch


Now make & make install worked. And i have done this:
Code: Select all
gzip -9 /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/usb/serial/sierra.ko

gzip -9  /lib/modules/2.6.38.8-pclos3.bfs/kernel/drivers/net/usb/sierra_net.ko

depmod -a

Rebooted my laptop. And if i go into Network Center i can see under
Code: Select all
 GPRS/Edge/3G - Sierra Wireless, Incorporated Aircard 320U.


Went into configure, and put in my account details, clicked on connect but it does not connect. I can`t be far of connecting.

can you see if i have done something wrong ?
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby thfcfan » Mar 16th, '13, 04:26

Update: I downloaded putty and installed it.

With my Sierra 320U connected via USB port, i opened putty.

and under session up the top left and Connection type ( on the right ) -
Code: Select all
 Serial- Serial Line, i put /dev/ttyUSB2 and clicked open down the bottom.


That opens a small konsole with a green cursor. Typed in
Code: Select all
AT and OK come up, then typed AT!SCACT=1,2
and i was connected to the internet with a solid green light on my USB modem.

I opened up Firefox and says: Server not found, Firefox cannot find the server at http://www.google.

Has anyone got any ideas why firefox or anything else won`t load.
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby doktor5000 » Mar 16th, '13, 17:23

Can you ping any IP adress? Like 8.8.8.8?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: new connection

Postby thfcfan » Mar 16th, '13, 18:55

ping 8.8.8.8

Code: Select all
 connect: network is unreachable.
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby doktor5000 » Mar 16th, '13, 22:03

Well, either you're missing routing, or you're only connected to you modem, and your modem is signaling that it's 3G connection is fine.
Please close that putty session, and run the following as root and show the output here:
Code: Select all
comgt -d /dev/ttyUSB2
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: new connection

Postby thfcfan » Mar 17th, '13, 00:40

comgt -d /dev/ttyUSB2

Code: Select all
SIM Ready
Waiting for registering on Home network: "Telstra",7
Signal Quality: 18,99
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby doktor5000 » Mar 17th, '13, 10:45

Well, that looks just fine. So setting it up via drakconnect does not work?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: new connection

Postby thfcfan » Mar 17th, '13, 14:47

I tried setting it up with drakconnect, it tries to connect but doesn`t.

Strange putty connects it but can`t load any web pages.

Is this any info to you ?
Code: Select all
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1C:23:9C:4D:0D 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:196 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15024 (14.6 KiB)  TX bytes:15024 (14.6 KiB)
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby thfcfan » Mar 21st, '13, 15:36

Never mind, seems i cant get my internet connected properly. Thanks for trying.
thfcfan
 
Posts: 10
Joined: Mar 6th, '13, 12:31
Location: Australia

Re: new connection

Postby doktor5000 » Mar 21st, '13, 21:13

Why do you think so? As from your second-to-last post the connection of the modem to the ISP's network seems fine.

Also when you used putty, that is like me doing a telnet connection to my wireless router, and wondering why i can't access
internet over that telnet connection.

Maybe you can try networkmanager or maybe even http://www.sakis3g.org/ ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron