• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help -- Linux question!!! Solved, Thanks!

sirfergy

Golden Member
I have a linux machine thats IP address is setup wrong. The problem is, I dont have a monitor or keyboard or mouse to connect to it to fix the problem.

Are there any ways of running a boot disk or an auto-run program to solve my problem?

Thanks!

Btw, it's Mandrake 8.0 on a Dell Optiplex GXpro PPro 200Mhz machine.
 
Why don't you plug in the keyboard you are using now? 🙂

Seriously, um, I guess you could set up your network using DHCP or you could
have a boot disk automatically put the right info in the /etc/network file.

Kind of a weird problem.
 


<< I have a linux machine thats IP address is setup wrong. The problem is, I dont have a monitor or keyboard or mouse to connect to it to fix the problem.

Are there any ways of running a boot disk or an auto-run program to solve my problem?

Thanks!

Btw, it's Mandrake 8.0 on a Dell Optiplex GXpro PPro 200Mhz machine.
>>



SSH into the machine and change it, use a serial cable and do a serial connection to the machine to change it. Get off your lazy butt and hook a monitor up to it 😉
 
I own a laptop as my only other computer, so I cannot really get off my lazy butt and attach a monitor. 🙂

What would need to be on the boot disk to update the files necessary?

Thanks
 
Can you telnet as root? I thought you could change IP settings for each adapter in its ifcfg file. Not for sure, though as I am running Red Hat 7.
 
Well, the problem is the only access I have to the machine is through a floppy or cd-rom. I could connect a keyboard but I'd have to have an exact script of what to do since I wouldn't be able to see the what was actually going on.
 
this is a tough one, if you can't see a screen output

is all you need to do change the ip address of a nic card?
 
This is why when I run machines headless I tell both LILO and the system to output to /dev/ttySx so that I can just plug any laptop into the serial port and fire up any term emulator and get a console so that I can do stuff like that. More like so I can do stuff like if ssh fails me.

Unfortunately I wouldn't want to do what you're doing &quot;blind.&quot; I know it's a hassle but get a monitor and a keyboard and make those changes. Then read how to setup a console on your serial port here: Make a Serial Terminal the Console
 
I need to change the IP address plus the dns and whatnot. Of course, once the ip is changed, i can ssh into it and make the rest of the changes since its on a local intranet.
 
Well, you can try getting a cross over cable and changing the IP address of your laptop or whatever to and IP address w/in the same subnet of what the Linux box is now, go NIC to NIC and then sshing into it.

Or if the Linux box and your other box are into a hub or a switch, then just change the IP address of whatever machine to something into the same subnet and then ssh into it.
 
This is why planning is the #1 forgotten thing when setting up a machine/network. Get a monitor. That is about your only option.

This script may work, please correct me linux gurus!

---------------------------BEGIN---------------------------
#!/bin/sh
ifconfig eth0 192.168.0.1 255.255.255.0 media 100baseTX

----------------------------END----------------------------

I have no clue what you were planning on doing in a situation like this (obviously nothing) and I have no clue how to get this to run off of a floppy on startup. You should be able to plug a keyboard in (pray it just works) type your login wait a second, type your password, wait a couple seconds and run the ifconfig command (if I have syntax correct for linux). This will have to be as root of course. Go to a used computer store and pick up a 14&quot; b/w monitor or setup the system to work with your serial connection like was previously stated. Simple solutions for simple people. Plan ahead. always be prepared, just do it, your way right away, and all that.
 
Back
Top