LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   will this work? (https://www.linuxquestions.org/questions/linux-newbie-8/will-this-work-451024/)

beejayess 06-02-2006 04:52 PM

will this work?
 
I recently posted a thread here "cant connect to internet using suse10".In the end,after some useful help from here,I found the problem.MAC addresses!!!Anyway I use a motorola surfboard sb5100 modem to connect to XP,via a usb.That was my problem,my ISP doesn't recognise my NIC as being from me.So i searched the web for some usb drivers,and lo and behold I found this on a posting:

kernel configuration

CONFIG_USB=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_USBNET=y
CONFIG_USB_CDCETHER=y

It was for a 2.6.* kernel
and LFS,RH distro.

Will it work for me?
How do I compile it?
Using XTerm?

Can anybody answer these questions?and help a real :Pengy: : :newbie: out.:)

pljvaldez 06-02-2006 05:15 PM

What you need to do is either call your ISP with your new MAC address (easiest) or use MAC address cloning (i.e. make your ethernet card act like it is whatever MAC address your ISP thinks you should have). Never done MAC address cloning on linux before, but I'm sure it can be done because my router is linux based and it has a MAC address cloning feature...

Brian1 06-02-2006 05:25 PM

Use the command as root
ifconfig <interface_name> hw ether xx.xx.xx.xx.xx.xx
example:
ifconfig eth0 hw ether AA.BB.CC.12.34.23

Replace to the mac to match other nic.
Do it with the interface still up.

Brian1

Emerson 06-02-2006 05:27 PM

Yep, it can be done with ifconfig. (man ifconfig, look for hw class address)

beejayess 06-03-2006 05:47 AM

Thx people I will give it a go this W/E and let you know how I got on.

BJS

beejayess 06-19-2006 06:35 PM

Sorry it has been a long W/E.....but i got sidetracked.Been doing some research myself and i found out that suse10 has the usbnet module i loaded it with:

modprobe usbnet

commmand,tried

modprobe CDCEther

but it said no module found.Did some checking and found that suse10 runs mini modules(or something like that)and that the usbnet contains CDCEther in it.
Did a ifconfig -a and it listed the conection as eth1,
there was also Io and a set1? think that was it.
The eth1 had all the right config(mac,dns etc)but still couldn't connect.
Did a dmesg and it showed usbnet loaded and the CDCEther loaded....still no connection!also everytime I reboot i have to modprobe usbnet,how can I load it automatically at boot?
Any ideas why the system IE ifconfig see the eth1,reports the correct info(as if it were connected)but I still cant connect?
Am I dense?
Is it me?
Where am I going wrong?

All answers to me please as I am going NUTS!!!!!!!!

TA
BJS

vinbob 06-20-2006 02:21 PM

Why don't you just phone your ISP and give them your NIC's MAC address? Once it's registered with them you can reset your cable modem and off you go.
I do know for a fact that Blueyonder (UK) has a "Self Care" web site where you can log in and administer your MAC addresses yourself.


All times are GMT -5. The time now is 03:15 PM.