Results 1 to 4 of 4

BSNL broadband in Fedora 13

  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    1

    Default BSNL broadband in Fedora 13

    I have a dual booting system having XP and fedora 13. My bsnl broadband connection is working fine in XP. But when i am trying to configure it in fedora 13 i am facing strange problems.

    I have created a xDSL connection and when i am activating it its showing "active" status but i could not access internet. I can ping DNS but i could not ping the default gateway (192.168.1.1).

    I can ping both the DNS and the default gateway from XP.

    Thanks in advance.

  2. #2
    LEARNER
    Join Date
    Aug 2007
    Posts
    15,263

    Default

    see this link and check/download LINUX users zip file.
    BSNL BROADBAND MAIN MENU
    Not familiar with LINUX.

  3. #3
    Silver Member
    Join Date
    Dec 2009
    Posts
    342

    Default

    Quote Originally Posted by sukanta View Post
    I have a dual booting system having XP and fedora 13. My bsnl broadband connection is working fine in XP. But when i am trying to configure it in fedora 13 i am facing strange problems.

    I have created a xDSL connection and when i am activating it its showing "active" status but i could not access internet. I can ping DNS but i could not ping the default gateway (192.168.1.1).

    I can ping both the DNS and the default gateway from XP.

    Thanks in advance.
    You have to select the option of Manual and put the adresses in two places.
    If you do it right there shouldnt be any problem

    BTW,FEDORA 13 rocks!!! The windows killer
    640K ought to be enough for anybody.-Bill Gates

  4. #4
    Junior Member
    Join Date
    Dec 2010
    Posts
    2

    Default BSNL 3G Linux Fedora 13 UBUNTU

    Hi

    Use of 3g modem on Linux Fedora

    when u insert USB modem then look for changes in dmesg
    use command

    dmesg | tail -n50

    - usb 1-2.3: new full speed USB device using ehci_hcd and address 4
    - usb 1-2.3: New USB device found, idVendor=1c9e, idProduct=6061
    - usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=4
    - usb 1-2.3: Product: USB MMC Storage
    - usb 1-2.3: Manufacturer: Qualcomm, Incorporated
    - usb 1-2.3: SerialNumber: 000000000002
    - Initializing USB Mass Storage driver...
    - scsi2 : usb-storage 1-2.3:1.0
    - usbcore: registered new interface driver usb-storage
    - USB Mass Storage support registered.
    - usb 1-2.3: USB disconnect, address 4
    - usb 1-2.3: new full speed USB device using ehci_hcd and address 5
    - usb 1-2.3: New USB device found, idVendor=1c9e, idProduct=6061
    - usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=4
    - usb 1-2.3: Manufacturer: 3G USB Modem ￴￴
    - usb 1-2.3: SerialNumber: 000000000002
    - scsi3 : usb-storage 1-2.3:1.3
    - scsi 3:0:0:0: CD-ROM HSDPA CDROM 2.31 PQ: 0 ANSI: 2
    - scsi 3:0:0:1: Direct-Access HSDPA MMC Storage 2.31 PQ: 0 ANSI: 2
    - sr1: scsi-1 drive
    - sr 3:0:0:0: Attached scsi CD-ROM sr1
    - sr 3:0:0:0: Attached scsi generic sg2 type 5
    - sd 3:0:0:1: Attached scsi generic sg3 type 0
    - sd 3:0:0:1: [sdb] Attached SCSI removable disk

    If above are the output messages then this USB modem working as USB Storage drive.
    Look for loaded modules using command

    lsmod

    - usb_storage 34392 0

    above messages should be output.

    it means your need to remove this module use below command

    rmmod usb_storage

    Now you have to look for your Product and Vendor ID use below command

    lsusb

    Now you have to use software utility called usb_modswitch, you have to
    configure file usb_modeswitch.conf it in /etc/usb_modeswitch.conf. Make a
    copy of this file, store with another name at same location /etc/.
    Remove all entries except for your USB, here I will explain

    If I plugged my USB and when I do lsusb and below are my entries

    ....
    Bus 001 Device 007: ID 1c9e:6061
    ....

    here is my config file /etc/bsnl_usb_modeswitch.conf, keep below entries only remove
    all other unnecessary information,

    ################################################## ######
    # MobiData MBD-200HU
    #
    # Contributor: Stefan Olejnik

    DefaultVendor= 0x1c9e
    DefaultProduct= 0x6061

    TargetVendor= 0x1c9e
    TargetProduct= 0x6061

    # only for reference and 0.x versions
    # MessageEndpoint=0x01

    MessageContent="55534243123456788000000080000606f5 0402527000000000000000000000"

    ################################################## ######

    above messages should be output.


    But at DefaultVendor, TargetVendor you should enter your USB modem Vendor ID using lsusb
    command, and at DefaultProduct, TargetProduct you should enter your USB modem Product ID.

    Then use command

    usb_modeswitch -c /etc/bsnl_usb_modeswitch.conf

    - Looking for target devices ...
    - No devices in target mode or class found
    - Looking for default devices ...
    - Found default devices (1)
    - Accessing device 005 on bus 001 ...
    - Using endpoints 0x02 (out) and 0x82 (in)
    - Not a storage device, skipping SCSI inquiry
    - Error: could not get description string "product"

    - Device description data (identification)
    - -------------------------
    - Manufacturer: 3G USB Modem
    - Product:
    - Serial No.: 000000000002
    - -------------------------
    - Looking for active driver ...
    - No driver found. Either detached before or never attached
    - Setting up communication with interface 0 ...
    - Trying to send the message to endpoint 0x02 ...
    - OK, message successfully sent
    - -> Run lsusb to note any changes. Bye.

    above messages should be output.

    Now you have to load correct driver for your USB modem, use below command

    modprobe -v option

    - insmod /lib/modules/2.6.33.3-85.fc13.i686.PAE/kernel/drivers/usb/serial/usbserial.ko
    - insmod /lib/modules/2.6.33.3-85.fc13.i686.PAE/kernel/drivers/usb/serial/usb_wwan.ko
    - insmod /lib/modules/2.6.33.3-85.fc13.i686.PAE/kernel/drivers/usb/serial/option.ko

    above messages should be output.

    Now activate this drivers for your USB modem use command

    echo "1c9e 6061" > /sys/bus/usb-serial/drivers/option1/new_id

    Now look for dmesg logs using command

    dmesg | tail -n10

    - USB Serial support registered for GSM modem (1-port)
    - usbcore: registered new interface driver option
    - option: v0.7.2:USB Driver for GSM modems
    - option 1-2.3:1.0: GSM modem (1-port) converter detected
    - usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB0
    - option 1-2.3:1.1: GSM modem (1-port) converter detected
    - usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB1
    - option 1-2.3:1.2: GSM modem (1-port) converter detected
    - usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB2
    - option 1-2.3:1.3: GSM modem (1-port) converter detected
    - usb 1-2.3: GSM modem (1-port) converter now attached to ttyUSB3

    above messages should be output.

    Now you are on track of connecting now you have to use utility called
    wvdial, but before that u have to configure /etc/wvdial.conf. If there are
    any entries allready, then make a copy of this file, here is my configuration
    file (/etc/wvdial.conf). I am using BSNL 3G network in Pune

    [Dialer hsdpa]
    Phone = *99#
    Username = null
    Password = null
    Stupid Mode = 1
    Dial Command = ATDT
    Modem = /dev/ttyUSB0
    Baud = 115200
    Init2 = ATZ
    Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ISDN = 0
    Auto Reconnect = off
    Dial Attempts = 1
    Modem Type = Analog Modem
    obtain APN = 0
    use APN = 1
    APN = bsnlnet
    IP modal = 1
    obtain PDP = 1
    PAP modal = 1
    obtain DNS = 1


    In APN phase(APN = bsnlnet) you have to use your service provider APN name.
    There is 1 more file called /etc/ppp/options which you have to use
    below is my /etc/ppp/options file

    /dev/ttyUSB0
    115200
    debug
    noauth
    noipdefault
    defaultroute
    usepeerdns
    crtscts
    lock
    kdebug 7
    -detach
    lcp-echo-failure 4
    lcp-echo-interval 30
    lcp-max-configure 10
    lcp-max-failure 10
    ipcp-max-failure 10
    ipcp-max-configure 10
    -ccp
    -vj
    refuse-chap
    refuse-mschap
    refuse-mschap-v2
    refuse-eap
    #name
    #show-password

    Now your all configuration is complete use below command now

    wvdial hsdpa

    --> WvDial: Internet dialer version 1.61
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT 7200000
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Sat Feb 12 22:44:27 2011
    --> Pid of pppd: 2069
    --> Using interface ppp0
    --> Authentication (PAP) started
    --> Authentication (PAP) successful
    --> local IP address 10.224.11.98
    --> remote IP address 10.64.64.64
    --> primary DNS address 218.248.240.134
    --> secondary DNS address 218.248.240.23
    --> Script /etc/ppp/ip-up run successful
    --> Default route Ok.
    --> Nameserver (DNS) Ok.
    --> Connected... Press Ctrl-C to disconnect

    above are the messages you will get.

    There is 1 file called /etc/resolv.conf. If it has allready entries
    then no need for u to insert new entries, if don't then insert below
    entries, it is used to solve DNS, I repeat this file is dependent on
    your area(Country, State, City). Below entries are for country India,
    Maharashtra,

    File is /etc/resolv.conf

    nameserver 218.248.240.181
    nameserver 208.67.220.220



    Thank You

    Ravikiran D. Borse

Similar Threads

  1. 8400 SE in Fedora
    By neel in forum Linux
    Replies: 2
    Last Post: 4th July 2011, 08:26 AM
  2. Broadband on LINUX (Fedora 9)
    By mc53271 in forum BSNL broadband
    Replies: 3
    Last Post: 26th August 2010, 09:13 AM
  3. Solved BSNL Connection in Fedora 10
    By interubun in forum BSNL broadband
    Replies: 8
    Last Post: 28th June 2009, 06:51 AM
  4. wants to run BSNL broadband on Fedora 9
    By sl_ict in forum BSNL broadband
    Replies: 6
    Last Post: 10th April 2009, 09:13 PM
  5. Help to set up BSNL in Fedora 10
    By interubun in forum BSNL broadband
    Replies: 9
    Last Post: 4th January 2009, 10:23 AM