Tiny Core Base > TCB Q&A Forum

requesting help for 2 internet key

<< < (2/5) > >>

vinnie:
've tried several, but in the end I kept that because it is the same as used on windows, where I connect

maro:
@vinnie: First up I need to state that I don't own a USB 3G modem and my knowledge is therefore only of rather theoretical nature, furthermore I don't really know the Italian language. Nevertheless I had a bit a look around the web page of your provider (which I assumed to be "wind.it"). I found theses generic instructions. Just briefly looking at things like the screenshots I can't say that I spotted anything I've would have done differently. I assume that you've already tried out the various variations of the "phone" number (e.g. "*99***1#", and maybe even "*99***9#" or "*99**1*1#").

In the "good old days" (like 10-15 years ago) when analog modems were the norm my typical troubleshooting step at this stage (i.e. after the modem initailisation) would have been to just listen for a dial tone (e.g. by using 'ATDT' without any number). And as the next step to just listen whether I could get the modem to dial out at all (e.g. by using a single digit like 'ATDT 9'). But alas I'm afraid that won't work with your type of modem any more.

As a generic comment: Make sure that you are using the correct combination of 'modem', 'init' strings and 'phone' suitable for your modem and provider. As soon as you get a 'CONNECT ...' it should be merely an issue with the PPPD parameters (e.g. username/password) that you'll have to sort out.

vinnie:
I think the problem lies somewhere else
few times ago i tried to give command with minicom (I can not do the same with cutecom, seems to repeat the input instead uutput):

--- Code: ---Welcome to minicom 2.4

OPTIONS: I18n                                                                
Compiled on Jun 22 2010, 21:33:10.                                          
Port /dev/ttyUSB2                                                            
                                                                            
Press CTRL-A Z for help on special keys                                      
                                                                            
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0                                            
OK                                                                                                                                                  
AT                                                                          
OK                                      
ATZ                                    
OK                                      
AT+CGDCONT=1,"ip","internet.wind"      
OK                                      
ATD*99#                                
ERROR
--- End code ---

Since I am not convinced, as the guide i posted, I would try to switch the modem with AT commands instead modeswtich, But the guide says to refer to "network manager" to know the name of the device to be set in minicom.
Now I ask, after i insert the usb dispositive, how I can know its device (alias /dev/tty*)?

@maro= thanks for your attention, in pdf that you are finding are apn and number, correspond to those that I already use, but it's good to have a verification, username & password is ininfluent.
For several days this part can assure that I'm doing so many tests (with ppp pppsetup umtsmon eznet/xeznet sakis wvdial...) not last the test with minicom.
Tomorrow I'll try with ubuntu to see if is a linux problem or not.

maro:

--- Quote ---Now I ask, after i insert the usb dispositive, how I can know its device (alias /dev/tty*)?

--- End quote ---
Hmmm, I would have thought that there will be some sort of message in the 'dmesg' output.

So what I would do in this case is to boot without the USB device, take a 'dmesg' snapshot (e.g. via dmesg > d1), connect the device in question, and check what has changed (e.g. via dmseg | diff -U 0 d1 -). Likewise if the device requires a firmware file, or a kernel module to be recognised or properly enabled that should also show up in the 'dmesg' output in some form or another.

vinnie:
before doing the test with dmesg and minicom I did that with ubuntu, and in ubuntu works.
This is wvdial.conf that work in ubuntu:

--- Code: ---[Dialer Defaults]
Dial Command = ATD
Init1 = at
Init2 = AT+CGDCONT=1,"IP","internet.wind"
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Carrier Check = no
Phone = *99#
Modem = /dev/ttyUSB2
Username = wind
Password = wind
Baud = 460800
Stupid Mode = 1
--- End code ---

This gave me an opportunity to understand a little more and repeat.
Now the modem as connected with wvdial in tinycore, but  I can not use this connection for Internet.


--- Code: ---tc@box:/mnt/sda6/wvdial-1.61/wvdial-1.61$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: at
at
OK
--> Sending: AT+CGDCONT=1,"IP","internet.wind"
AT+CGDCONT=1,"IP","internet.wind"
OK
--> Modem initialized.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
CONNECT 7200000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Mon Apr 11 20:41:40 2011
--> Pid of pppd: 9526
--> Using interface ppp0
--> pppd: H&d[08]`#d[08]
--> pppd: H&d[08]`#d[08]
--> pppd: H&d[08]`#d[08]
--> pppd: H&d[08]`#d[08]
--> pppd: H&d[08]`#d[08]
--> pppd: H&d[08]`#d[08]
--> local  IP address 164.132.123.57
--> pppd: H&d[08]`#d[08]
--> remote IP address 10.64.64.64
--> pppd: H&d[08]`#d[08]
--> primary   DNS address 193.70.152.25
--> pppd: H&d[08]`#d[08]
--> secondary DNS address 193.70.192.25
--> pppd: H&d[08]`#d[08]

--- End code ---

Wireshark a program that recommended by one friend, identifies the new network as ppp0, now the question is this:
how do I set this connection to be used by tinycore? (in ubuntu it automatically)

Please answer me, I feel, are close to conclusion

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version