Results 1 to 4 of 4

Thread: Linux Ubuntu driver for Sam300tmax adsl

  1. #1
    Junior Member
    Join Date
    Jun 2009
    Age
    52
    Liked
    0 times
    Posts
    2

    Default Linux Ubuntu driver for Sam300tmax adsl

    I have recently got the SAM300TMAX ADSL2+ MODEM installed on my system. My computer has dual boot option for both Windows XP as well as Ubuntu 9.04 Linux OS.

    The modem is working fine in Windows XP after installing the USB driver from the CD provided by MTNL. I connect my computer to the modem using the USB port since there is no network ethernet port on my system.

    However, the UBUNTU linux does not recognize the modem through the USB port although the manual says that it would. I tried to install the Linux driver provide in the CD. However, I could not compile the source code and install it. It gives an error while compiling.

    Please help. Where can I find the suitable Linux driver for this modem along with installation package?

  2. #2
    Platinum Member
    Join Date
    Feb 2008
    Liked
    0 times
    Posts
    2,766

    Default

    post output of ifconfig from the terminal . what error do you get when compiling the drivers?

  3. #3
    Junior Member
    Join Date
    Jun 2009
    Age
    52
    Liked
    0 times
    Posts
    2

    Default

    The readme file in the Linux Driver on Cd gives the following instructions:

    3. Installation

    3.1 Installation from source code

    Note: Do not plug and power on CPE before installing the driver;

    All operations in this section needs root's privilege.

    tar zxvf trendchip-1.2.tar.gz

    cd trendchip-1.2

    make

    make install

    When I followed these instructions and extracted the files using tar and then after going to trendchip-1.2 directory and then issued the make command (sudo make), the source could not be compiled. it gives error 1. The detailed printout of the system on issuing the command is as follows:

    sudo make
    [sudo] password for rakesh:
    gcc -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux-2.6.28-11-generic/include -O -g -I.. -c -o trendchip.o trendchip.c
    trendchip.c:19:24: error: linux/slab.h: No such file or directory
    trendchip.c:20:24: error: linux/init.h: No such file or directory
    trendchip.c:21:25: error: linux/delay.h: No such file or directory
    In file included from /usr/include/linux/socket.h:23,
    from /usr/include/linux/if.h:23,
    from /usr/include/linux/netdevice.h:28,
    from trendchip.c:22:
    /usr/include/linux/uio.h:37: error: expected ‘=’, ‘,’, ‘;’, make: *** [trendchip.o] Error 1

  4. #4
    Jedi knight Luke Skywalker's Avatar
    Join Date
    Jul 2009
    Age
    23
    Liked
    0 times
    Posts
    2,175

    Default

    Can you upload your files given by MTNL to site like mediafire .I will try able to compile them & upload the binary.For this your ubuntu should be i386(32 bit) as mine is also this & amd or intel.

    According to me MTNL is totally dumb if they cant give their customer binary file or packages like deb,rpm,pkg,blah,blah,blah.I am making them since I started using computer.I use config.,make install.for using software which I install from svn.I use Free BSD & Ubuntu( its for my family as its quite easy to use).

    You can also try copying(not cutting) files from /usr/src/linux-2.6.28-11-generic/include/linux to /usr/include/linux skipfiles you already have (.as I see you have header install otherwise this line must have given error gcc -Wall -D__KERNEL__ -DMODULE -I/usr/src/linux-2.6.28-11-generic/include -O -g -I.. -c -o trendchip.o trendchip.c.)
    Last edited by Luke Skywalker; 07-11-09 at 01:39 AM. Reason: Automerged Doublepost

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Windows 7 vs. Ubuntu
    By gaggan4392 in forum Operating Systems
    Replies: 13
    Last Post: 05-24-10, 11:30 AM
  2. Review : Linux Mint 8
    By Luke Skywalker in forum Linux
    Replies: 5
    Last Post: 03-27-10, 09:10 PM
  3. Review | Ubuntu 9.10 | Karmic Koala
    By itsmemad in forum Linux
    Replies: 7
    Last Post: 02-23-10, 09:14 PM
  4. How ADSL Broadband Internet Works
    By deepmohan in forum Broadband How to
    Replies: 1
    Last Post: 02-12-10, 03:44 AM
  5. Linux Live Flavours!
    By deepmohan in forum Linux
    Replies: 0
    Last Post: 02-08-10, 09:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •