WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Cannot connect to wired internet  (Read 4007 times)

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Cannot connect to wired internet
« on: October 05, 2010, 02:47:27 AM »
I have a dell studio 14 laptop and I am booting TCL 3.1 (I also tried current) from a usb drive.  I am trying to download applications but it says that I cannot connect to a network when I hit network in the app manager.  When I type in ifconfig -a I just receive a result under lo.  There seems to be no Internet connection.  The wired Internet works when I boot Windows however.

Brian

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Cannot connect to wired internet
« Reply #1 on: October 05, 2010, 07:16:04 AM »
Try with installing the firmware extension.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Re: Cannot connect to wired internet
« Reply #2 on: October 05, 2010, 08:27:04 AM »
What firmware?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Cannot connect to wired internet
« Reply #3 on: October 05, 2010, 09:23:16 AM »
firmware.tcz
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Re: Cannot connect to wired internet
« Reply #4 on: October 05, 2010, 02:04:47 PM »
So before tcl wasn't installed on my flash drive.  I installed it using the USB installer which created the tce folder.  I installed firmware but nothing has changed.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot connect to wired internet
« Reply #5 on: October 05, 2010, 04:49:09 PM »
So as "poking around in the mist" by installing the 'firmware.tcz' extension has not worked. I'd therefore suggest you provide us with the output of the dmesg command.

Please save it to your USB stick, and then attach the file as a response here (no inline quote please), or use pastebin

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Re: Cannot connect to wired internet
« Reply #6 on: October 05, 2010, 05:06:19 PM »
Here it is:

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot connect to wired internet
« Reply #7 on: October 06, 2010, 12:00:34 AM »
I believe the "interesting" lines are:
Quote
tg3.c:v3.106 (January 12, 2010)
tg3 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
tg3 0000:03:00.0: setting latency timer to 64
tg3 mdio bus: probed
eth%d: No PHY devices
tg3: Problem fetching invariants of chip, aborting.
tg3 0000:03:00.0: PCI INT A disabled

I just googled the 'tg3.c:v3.106' part together with the kernel version for TC 3.x (i.e. '2.6.33'): On this page I found the recommendation to use:
    modprobe -r tg3
    modprobe broadcom
    modprobe tg3

You will have to execute those commands as 'root', which would be achieved by preceeding each of them with sudo)

Now check for errors in dmesg | tail and if unsure you might want to follow the step-by-step trobleshooting I just suggested in this post. If that all works you probably want to make this tweak "stick": I'd suggest to put those commands (this time without the sudo) into '/opt/bootlocal.sh' and make sure that they are included in the backup (e.g. via filetool.sh -b).

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Re: Cannot connect to wired internet
« Reply #8 on: October 06, 2010, 01:14:15 AM »
Thank you so much.  That worked.  I just have to enable DHCP using the gui afterwords.  Do you know how i can include that in bootlocal.sh?

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot connect to wired internet
« Reply #9 on: October 06, 2010, 01:39:45 AM »
Good the know you are making progress.

Now, the DHCP service get's started from '/etc/init.d/tc-config' before it hands over to '/opt/bootsync.sh' (which itself runs '/opt/bootlocal.sh' in the background). So I can imagine that things are not working out.

I'd say if you use boot code 'nodhcp' (to prevent the premature running of it) and add /etc/init.d/dhcp.sh after the 'modprobe' commands in '/opt/bootlocal.sh' you should achieve your goal. I'm not sure whether you'll have to put a delay (e.g. sleep 2) between the last 'modprobe' and the 'dhcp.sh', but that should not be too difficult to find out.

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Re: Cannot connect to wired internet
« Reply #10 on: October 06, 2010, 01:42:30 PM »
Thanks, that worked.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Cannot connect to wired internet
« Reply #11 on: October 06, 2010, 07:34:48 PM »
devinbj: Would you please in the interest of other users that might run into the same issue state whether you needed a delay or not (i.e. just list all your changes to '/opt/bootlocal.sh').

Offline devinbj

  • Newbie
  • *
  • Posts: 8
Re: Cannot connect to wired internet
« Reply #12 on: October 06, 2010, 10:56:24 PM »
My bootlocal.sh file is as follows (note: I did not need to use sleep - maybe because my os already has a waitusb=5 on boot):

modprobe -r tg3
modprobe broadcom
modprobe tg3
/etc/init.d/dhcp.sh
ifconfig eht0 up