Re: ./EuGTK/GtkEngine.e to Irv

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

I was a bit taken aback to see an error about ifconfig when running wee. You may run ifconfig as a normal user. You just cannot do any changes (or damage) by running ifconfig as a normal user. It is used in EuGTK to determine whether you have an internet connection.

There's better ways to do that. Use std/socket.e and create a socket to TCP port 80 to www.whitehouse.gov (for example).

SDPringle said...

As a normal user, it must be called as /sbin/ifconfig rather than just ifconfig.

I quibble with the "must" piece. I regularly add /sbin/ to my PATH in /.bash_profile just so I don't have to call it as /sbin/ifconfig ...

SDPringle said...

Does Irv run his GTK test programs as root?

Or he does what I do.

SDPringle said...

Anyway you guys kind of missed the point of the original post. It is kind of obvious you shouldn't be editing stuff as root if they are not in /etc.

Huh? What does /etc have to do with the original post?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu