Find the answer to your Linux question:
Results 1 to 3 of 3
I've been using debain sarge for about a week and today i finally got internet up. I made a simple shell script to get my internet going when the pc ...
  1. #1
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202

    X is being wacky

    I've been using debain sarge for about a week and today i finally got internet up. I made a simple shell script to get my internet going when the pc turns on (ifconfig eth0 up.. blah blah). i placed it in init.d and symlinked the file from init.d into rc2.d. ever since then X has acted funny. gnome and x have worked since the 1st or 2nd day i had debian. now when i type "startx" and click "Log in anyway" (some error about connecting to debian.org comes up.. always has- dont think thats the problem) it either freezes competely (except for the cursor) or goes to the next part of starting gnome which is showing a screen that says "debian" and freezes there. i tried ctrl-alt-backspace and that brought me back to the CLI.

    Any ideas? could my shell script have messed it up in some bizzare way?

    Thanks,
    Dan

  2. #2
    Linux Engineer
    Join Date
    Jan 2005
    Location
    Chicago (USA)
    Posts
    1,028
    Post the shell script.

  3. #3
    Linux Newbie
    Join Date
    Jul 2005
    Location
    Turn Around
    Posts
    202
    haha its only

    Code:
    #!/bin/sh
    ifconfig eth0 up
    dhclient
    the actual code shouldnt mess it up. it only makes me wonder because it happened the next reboot, and that was the only change i made.
    [/code]

Posting Permissions

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