无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 6155|回复: 15
打印 上一主题 下一主题

请教 如何用penetcfg初始化网络

[复制链接]
跳转到指定楼层
1#
发表于 2007-11-23 19:57:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
如题 在netpart解压了和网卡装好的前提下,且已写好penetcfg的配置文件,有什么参数可以让penetcfg自动初始化网络?
2#
发表于 2007-11-23 20:18:34 | 只看该作者
[General]
AutoStartNet     = Yes
PromptForProfile = NO
ShowGUI          = NO

楼上兄弟可以在911的PE里用PENetCfg启动网络吗?
回复

使用道具 举报

3#
发表于 2007-11-23 20:25:28 | 只看该作者
毛桃的PE好像不能用PENetCfg启动网络
我试过netpart解压到SYS里 用DEVI命令安装网卡驱动 再使用PENetCfg
提示不能启动网络
不知道还要改哪里
回复

使用道具 举报

4#
发表于 2007-11-23 20:42:28 | 只看该作者
我总想把毛桃的PE内核里的网络组件去干净了。。。

从服务里可以看到安装了很多网络组件。。。都没有外置。。。
回复

使用道具 举报

5#
 楼主| 发表于 2007-11-23 22:42:28 | 只看该作者
没试过911 但0305可以
不是解到sys 是windows
我自己的2003pe也试过可以
回复

使用道具 举报

6#
发表于 2007-11-23 22:50:24 | 只看该作者
不太懂 PENetCfg,正在了解,呵呵!

今天早上刚刚看到的,不知对楼主是否有帮助。

PENetCfg [/UseProfile[:profile_name]]

- If no parameters were passed, PENetCfg will run as usual without using any network profiles.

- /UseProfile[:profile_name] loads the network profile with the name "profile_name" to use in automating network settings.
If the network profile is located in the same folder as PENetCfg, you can provide only the file name without any path, otherwise you must provide the full path and put it in quotes if it contains spaces.

if no profile name is provided, PENetCfg will search in the same folder for a file with same name as PENetCfg but with the extension ".ini" and use it as the network profile if found. So if the executable file that started PENetCfg is named "PENetCfg.exe", PENetCfg will search for "PENetCfg.ini" in the same folder to use as the network profile.

Examples:
PENetCfg /UseProfile
PENetCfg /UseProfile:Work.ini
PENetCfg -UseProfile:"C:\Net Profiles\Work.ini"
PENetCfg -UseProfile:%SystemRoot%\System32\Work.ini

Very Important note:
Network profiles will be used only when PENetCfg is going to start network support.
If network support is already started, no network profiles are used even if you explicitly provide it via the command line parameter.
回复

使用道具 举报

7#
发表于 2007-11-23 23:06:55 | 只看该作者
回复

使用道具 举报

8#
发表于 2007-11-23 23:40:48 | 只看该作者
毛桃PE的windows目录 就是WXPE目录吗?
我以前是解压到SYSTEM32目录里的


原帖由 neo4026 于 2007-11-23 10:42 PM 发表
没试过911 但0305可以
不是解到sys 是windows
我自己的2003pe也试过可以
回复

使用道具 举报

9#
 楼主| 发表于 2007-11-23 23:47:01 | 只看该作者
对 是WXPE
见RAR的脚本
还有 outer base和outer part也要内置(system32)
回复

使用道具 举报

10#
发表于 2007-11-24 00:08:36 | 只看该作者
有什么办法让PE启动过程中静默运行penetcfg?

penetcfg运行完毕后会跳出一个窗口要求设置IP和DNS
有什么办法让他不出现?
回复

使用道具 举报

11#
发表于 2007-11-24 01:58:36 | 只看该作者
原帖由 chnhhwz 于 2007-11-24 12:08 AM 发表
有什么办法让PE启动过程中静默运行penetcfg?

penetcfg运行完毕后会跳出一个窗口要求设置IP和DNS
有什么办法让他不出现?


不是有参数吗,不可以用吗?
最新 v2.32 版本,http://www.geocities.com/pierremounir/

+ Entry: ShowGUI
This entry gives you the option to show the main window of PENEtCfg or not.
+ Value: {Yes|No}
- Yes: makes PENetCfg show its main window after starting network support.
- No: makes PENetCfg quit after starting network support.
+ Default: Yes
回复

使用道具 举报

12#
 楼主| 发表于 2007-11-24 07:14:41 | 只看该作者
谢谢krell兄弟了
回复

使用道具 举报

13#
发表于 2007-11-24 10:04:25 | 只看该作者
也就是说
使用这样的命令就可以静默运行了:
EXEC !PENETCFG.EXE +Value:no
回复

使用道具 举报

14#
发表于 2007-11-24 10:06:07 | 只看该作者
个人认为
如果你要在PE里使用网络
网络组件最好还是内置 只需要把驱动包外置就可以了
组件外置 启动网络时会有复制到SYS的动作 会慢很多的


原帖由 nbhgl 于 2007-11-23 08:42 PM 发表
我总想把毛桃的PE内核里的网络组件去干净了。。。

从服务里可以看到安装了很多网络组件。。。都没有外置。。。
回复

使用道具 举报

15#
发表于 2007-11-24 14:25:00 | 只看该作者
原帖由 chnhhwz 于 2007-11-24 10:04 AM 发表
也就是说
使用这样的命令就可以静默运行了:
EXEC !PENETCFG.EXE +Value:no


狂晕!
不过也怪我没有表述清楚,这个不是命令行参数,是 Ini 配置文件里面的参数。

EXEC !PENETCFG.EXE /UseProfile
(不知带参数是否这样写,俺还没有详细读过 PECMD 的说明)

然后在 PENETCFG.Ini 文件里面设置。
[General]
ShowGUI          = No

[ 本帖最后由 krell 于 2007-11-24 02:27 PM 编辑 ]
回复

使用道具 举报

16#
发表于 2007-11-24 21:15:21 | 只看该作者
哈  
多谢兄弟
回家就去试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-7-30 04:35

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表